Merge pull request #1513 from jitsi/fix_change_display_name

fix(conference): Change display name when ChatRoom is not created yet
This commit is contained in:
Дамян Минков 2017-04-18 11:08:10 -05:00 committed by GitHub
commit edbbaef26f
1 changed files with 4 additions and 3 deletions

View File

@ -2048,8 +2048,9 @@ export default {
}
APP.settings.setDisplayName(formattedNickname);
if (room) {
room.setDisplayName(formattedNickname);
APP.UI.changeDisplayName(this.getMyUserId(),
formattedNickname);
APP.UI.changeDisplayName(this.getMyUserId(), formattedNickname);
}
}
};