From 2ebbca91a4fd8ac957a0bbe3335827a17746771f Mon Sep 17 00:00:00 2001 From: cel Date: Sun, 3 Feb 2019 17:19:37 -1000 Subject: Render peer invites --- lib/app.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/app.js') diff --git a/lib/app.js b/lib/app.js index 0cc2702..18bbb14 100644 --- a/lib/app.js +++ b/lib/app.js @@ -47,6 +47,10 @@ function App(sbot, config) { var capsConfig = config.caps || {} this.userInviteCap = capsConfig.userInvite || new Buffer('MxiG/9q04kN2C6vJQKa6ZhAj0G/FdfRkmeGTMnpsoek=', 'base64') + // sha256('user-invites:DEVELOPMENT') + this.peerInviteCap = capsConfig.peerInvite + || new Buffer('pmr+IzM+4VAZgi5H5bOopXkwnzqrNussS7DtAJsfbf0=', 'base64') + // sha256('peer-invites:DEVELOPMENT') */ var host1 = /:/.test(this.host) ? '[' + this.host + ']' : this.host -- cgit v1.2.3