Small fix to server

master
Håvar Aambø Fosstveit 2018-10-19 14:59:15 +02:00
parent 1770b0ca61
commit 040b983567
1 changed files with 1 additions and 1 deletions

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;