Browse Source

fix(events): use existing method to get participant on feature change

dev1
Leonard Kim 8 years ago
parent
commit
ab9b17872c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      JitsiConferenceEventManager.js

+ 1
- 1
JitsiConferenceEventManager.js View File

514
     conference.xmpp.caps.addListener(XMPPEvents.PARTCIPANT_FEATURES_CHANGED,
514
     conference.xmpp.caps.addListener(XMPPEvents.PARTCIPANT_FEATURES_CHANGED,
515
         from => {
515
         from => {
516
             const participant
516
             const participant
517
-                = conference.getParticipantId(
517
+                = conference.getParticipantById(
518
                     Strophe.getResourceFromJid(from));
518
                     Strophe.getResourceFromJid(from));
519
 
519
 
520
             if (participant) {
520
             if (participant) {

Loading…
Cancel
Save