Skip to content

Commit 5efd8b4

Browse files
committed
bugfix
really pass on invites, see: peermusic/user-stories/issues/111
1 parent dd1e1be commit 5efd8b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.js

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ function Connect (keyPair, whitelist, hubs, opts) {
2626

2727
this.opts = opts.opts || {}
2828
this.opts.keyPair = this.keyPair
29+
this.opts.issuedInvites = opts.issuedInvites || []
30+
this.opts.receivedInvites = opts.receivedInvites || {}
2931
this.opts.namespace = opts.namespace || 'peermusic'
3032
this.opts.whitelist = whitelist || []
3133

0 commit comments

Comments
 (0)