Skip to content

Commit

Permalink
fix(WebRTCService): each peer can open a door to the webChannel inste…
Browse files Browse the repository at this point in the history
…ad to have only one door availa

The join key equals to webChannel.id plus peerId.
  • Loading branch information
kalitine committed Mar 31, 2016
1 parent f1e7a4a commit 82ec1ba
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/netflux.es2015.js
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@
}

open (webChannel, onChannel, options = {}) {
let key = webChannel.id
let key = webChannel.id + webChannel.myId
let settings = Object.assign({}, this.settings, options)
// Connection array, because several connections may be establishing
// at the same time
Expand Down
2 changes: 1 addition & 1 deletion dist/netflux.js
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ return /******/ (function(modules) { // webpackBootstrap

var options = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2];

var key = webChannel.id;
var key = webChannel.id + webChannel.myId;
var settings = Object.assign({}, this.settings, options);
// Connection array, because several connections may be establishing
// at the same time
Expand Down
Loading

0 comments on commit 82ec1ba

Please sign in to comment.