Skip to content

Commit

Permalink
modify user name disco message parsed BM-2540
Browse files Browse the repository at this point in the history
  • Loading branch information
TURKCELL\TCZAKSU committed Apr 12, 2022
1 parent cef6573 commit 8498ee1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/xmpp/ChatRoom.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,9 @@ export default class ChatRoom extends Listenable {

const roomOwner = $(result).find('>query>feature[var="muc_bip_owner"]').length === 1;

this.eventEmitter.emit(XMPPEvents.MUC_ROOM_VISIBILITY_CHANGED, specialRoom, roomOwner);
const modifyUserName = $(result).find('>query>feature[var="modify_username"]').length === 1;

this.eventEmitter.emit(XMPPEvents.MUC_ROOM_VISIBILITY_CHANGED, specialRoom, roomOwner, modifyUserName);

const everybodyHasMicAccess
= $(result).find('>query>x[type="result"]>field[var="muc#roomconfig_bip_allow_microphone"]>value')
Expand Down

0 comments on commit 8498ee1

Please sign in to comment.