Commit 229516f922e23c750ab49ab934d32947c58d45ec
disable private messages in the browser (temporary)
Dominic Tarr committed on 7/10/2016, 3:56:08 AMParent: 9032d35d8d08a1a260509eea9e29a05ccbd08628
Files changed
modules/private.js | changed |
modules/private.js | ||
---|---|---|
@@ -25,9 +25,14 @@ | ||
25 | 25 | ) |
26 | 26 | } |
27 | 27 | |
28 | 28 | exports.screen_view = function (path) { |
29 | + | |
29 | 30 | if(path === '/private') { |
31 | + if(process.title === 'browser') | |
32 | + return h('div', h('h1', 'private messages not currently supported')) | |
33 | + | |
34 | + | |
30 | 35 | var id = null |
31 | 36 | sbot_whoami(function (err, me) { |
32 | 37 | id = me.id |
33 | 38 | }) |
@@ -80,4 +85,6 @@ | ||
80 | 85 | |
81 | 86 | |
82 | 87 | |
83 | 88 | |
89 | + | |
90 | + |
Built with git-ssb-web