|
|
@@ -368,24 +368,24 @@ JitsiConferenceEventManager.prototype.setupChatRoomListeners = function() {
|
|
368
|
368
|
XMPPEvents.MESSAGE_RECEIVED,
|
|
369
|
369
|
|
|
370
|
370
|
// eslint-disable-next-line max-params
|
|
371
|
|
- (jid, txt, myJid, ts, nick, isGuest) => {
|
|
372
|
|
- const id = Strophe.getResourceFromJid(jid);
|
|
|
371
|
+ (jid, txt, myJid, ts, nick, isGuest, messageId) => {
|
|
|
372
|
+ const participantId = Strophe.getResourceFromJid(jid);
|
|
373
|
373
|
|
|
374
|
374
|
conference.eventEmitter.emit(
|
|
375
|
375
|
JitsiConferenceEvents.MESSAGE_RECEIVED,
|
|
376
|
|
- id, txt, ts, nick, isGuest);
|
|
|
376
|
+ participantId, txt, ts, nick, isGuest, messageId);
|
|
377
|
377
|
});
|
|
378
|
378
|
|
|
379
|
379
|
chatRoom.addListener(
|
|
380
|
380
|
XMPPEvents.PRIVATE_MESSAGE_RECEIVED,
|
|
381
|
381
|
|
|
382
|
382
|
// eslint-disable-next-line max-params
|
|
383
|
|
- (jid, txt, myJid, ts) => {
|
|
384
|
|
- const id = Strophe.getResourceFromJid(jid);
|
|
|
383
|
+ (jid, txt, myJid, ts, messageId) => {
|
|
|
384
|
+ const participantId = Strophe.getResourceFromJid(jid);
|
|
385
|
385
|
|
|
386
|
386
|
conference.eventEmitter.emit(
|
|
387
|
387
|
JitsiConferenceEvents.PRIVATE_MESSAGE_RECEIVED,
|
|
388
|
|
- id, txt, ts);
|
|
|
388
|
+ participantId, txt, ts, messageId);
|
|
389
|
389
|
});
|
|
390
|
390
|
|
|
391
|
391
|
chatRoom.addListener(XMPPEvents.PRESENCE_STATUS,
|