git ssb

0+

ev / microbay



forked from Dominic / patchbay

Commit 229516f922e23c750ab49ab934d32947c58d45ec

disable private messages in the browser (temporary)

Dominic Tarr committed on 7/10/2016, 3:56:08 AM
Parent: 9032d35d8d08a1a260509eea9e29a05ccbd08628

Files changed

modules/private.jschanged
modules/private.jsView
@@ -25,9 +25,14 @@
2525 )
2626 }
2727
2828 exports.screen_view = function (path) {
29+
2930 if(path === '/private') {
31+ if(process.title === 'browser')
32+ return h('div', h('h1', 'private messages not currently supported'))
33+
34+
3035 var id = null
3136 sbot_whoami(function (err, me) {
3237 id = me.id
3338 })
@@ -80,4 +85,6 @@
8085
8186
8287
8388
89+
90+

Built with git-ssb-web