Kaynağa Gözat

do not trigger USER_JOINED event for local user

dev1
isymchych 10 yıl önce
ebeveyn
işleme
56293261b9
2 değiştirilmiş dosya ile 848 ekleme ve 516 silme
  1. 1
    1
      JitsiConference.js
  2. 847
    515
      lib-jitsi-meet.js

+ 1
- 1
JitsiConference.js Dosyayı Görüntüle

@@ -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
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle


Loading…
İptal
Kaydet