Skip to content

Commit

Permalink
fix(chat) change jid to participantId for reactions (#2557)
Browse files Browse the repository at this point in the history
* Change jid to participantId

* Define participantId
  • Loading branch information
he-patrick authored Aug 20, 2024
1 parent 31711ca commit 8d1787a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion JitsiConferenceEventManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -380,10 +380,11 @@ JitsiConferenceEventManager.prototype.setupChatRoomListeners = function() {
XMPPEvents.REACTION_RECEIVED,

(jid, reactionList, messageId) => {
const participantId = Strophe.getResourceFromJid(jid);

conference.eventEmitter.emit(
JitsiConferenceEvents.REACTION_RECEIVED,
jid, reactionList, messageId);
participantId, reactionList, messageId);
});

chatRoom.addListener(
Expand Down

0 comments on commit 8d1787a

Please sign in to comment.