diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2019-02-03 17:19:37 -1000 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2019-02-03 17:19:37 -1000 |
commit | 2ebbca91a4fd8ac957a0bbe3335827a17746771f (patch) | |
tree | 5b3a310c70ae019229570f5b69664cd3f6a59e30 /lib/app.js | |
parent | 8985feb5e74cf17eb5e2a24977b677047c441fcc (diff) | |
download | patchfoo-2ebbca91a4fd8ac957a0bbe3335827a17746771f.tar.gz patchfoo-2ebbca91a4fd8ac957a0bbe3335827a17746771f.zip |
Render peer invites
Diffstat (limited to 'lib/app.js')
-rw-r--r-- | lib/app.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |