aboutsummaryrefslogtreecommitdiff
path: root/lib/app.js
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2019-01-31 10:13:38 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2019-01-31 10:13:38 -1000
commit6c896844bd483f98e57fc9c5528f66a0bb63667f (patch)
tree45c1d185e41bacc105273246027024fe669c75e3 /lib/app.js
parent9b7c66e9644594fa04a5b88ee37583093b9b84dd (diff)
downloadpatchfoo-6c896844bd483f98e57fc9c5528f66a0bb63667f.tar.gz
patchfoo-6c896844bd483f98e57fc9c5528f66a0bb63667f.zip
Render user-invite
Diffstat (limited to 'lib/app.js')
-rw-r--r--lib/app.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/app.js b/lib/app.js
index cb5075d..e7cca83 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -40,6 +40,11 @@ function App(sbot, config) {
this.previewContacts = conf.previewContacts == null ? false : conf.previewContacts
this.useOoo = conf.ooo == null ? false : conf.ooo
this.ssbPort = 8008
+ /*
+ var capsConfig = config.caps || {}
+ this.userInviteCap = capsConfig.userInvite
+ || new Buffer('MxiG/9q04kN2C6vJQKa6ZhAj0G/FdfRkmeGTMnpsoek=', 'base64')
+ */
var host1 = /:/.test(this.host) ? '[' + this.host + ']' : this.host
this.baseUrl = 'http://' + host1 + ':' + this.port