Skip to content

Commit f7bc25f

Browse files
committed
Allow any room specified in profile to override the original room that was configured
1 parent e664dff commit f7bc25f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ module.exports = function(signalhost, opts) {
251251

252252
// announce ourselves to our new friend
253253
announceTimer = setTimeout(function() {
254-
var data = extend({}, profile, { room: room });
254+
var data = extend({ room: room }, profile);
255255

256256
// announce and emit the local announce event
257257
signaller.announce(data);

0 commit comments

Comments
 (0)