From 6c896844bd483f98e57fc9c5528f66a0bb63667f Mon Sep 17 00:00:00 2001 From: cel Date: Thu, 31 Jan 2019 10:13:38 -1000 Subject: Render user-invite --- lib/app.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/app.js') 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 -- cgit v1.2.3