Fixes storing display name in local members list, avoid dominant speaker to delete it.
This commit is contained in:
parent
fd954580b7
commit
54b9379577
|
@ -262,6 +262,10 @@ module.exports = function(XMPP, eventEmitter) {
|
|||
eventEmitter.emit(XMPPEvents.MUC_ROLE_CHANGED,
|
||||
member.role, member.displayName);
|
||||
}
|
||||
|
||||
// store the new
|
||||
if(member.displayName)
|
||||
this.members[from].displayName = member.displayName;
|
||||
}
|
||||
|
||||
// Always trigger presence to update bindings
|
||||
|
|
Loading…
Reference in New Issue