Small fix to server

This commit is contained in:
Håvar Aambø Fosstveit
2018-10-19 14:59:15 +02:00
parent 1770b0ca61
commit 040b983567
+1 -1
View File
@@ -215,7 +215,7 @@ class Room extends EventEmitter
cb(null);
const { displayName } = request;
const mediaPeer = this._mediaRoom.getPeerByName(peerName);
const mediaPeer = this._mediaRoom.getPeerByName(signalingPeer.peerName);
const oldDisplayName = mediaPeer.appData.displayName;
mediaPeer.appData.displayName = displayName;