Browse Source

do not trigger USER_JOINED event for local user

dev1
isymchych 9 years ago
parent
commit
56293261b9
2 changed files with 848 additions and 516 deletions
  1. 1
    1
      JitsiConference.js
  2. 847
    515
      lib-jitsi-meet.js

+ 1
- 1
JitsiConference.js View File

@@ -401,7 +401,7 @@ JitsiConference.prototype.kickParticipant = function (id) {
401 401
 
402 402
 JitsiConference.prototype.onMemberJoined = function (jid, email, nick) {
403 403
     var id = Strophe.getResourceFromJid(jid);
404
-    if (id === 'focus') {
404
+    if (id === 'focus' || this.myUserId() === id) {
405 405
        return;
406 406
     }
407 407
     var participant = new JitsiParticipant(jid, this, nick);

+ 847
- 515
lib-jitsi-meet.js
File diff suppressed because it is too large
View File


Loading…
Cancel
Save