Просмотр исходного кода

ref(JingleSession): rename 'responder' to 'responderJid'

dev1
paweldomas 7 лет назад
Родитель
Сommit
3b534bc624
2 измененных файлов: 2 добавлений и 2 удалений
  1. 1
    1
      modules/xmpp/JingleSession.js
  2. 1
    1
      modules/xmpp/JingleSessionPC.js

+ 1
- 1
modules/xmpp/JingleSession.js Просмотреть файл

@@ -50,7 +50,7 @@ export default class JingleSession {
50 50
 
51 51
         this.initiatorJid = this.isInitiator ? this.localJid : this.remoteJid;
52 52
 
53
-        this.responder = this.isInitiator ? this.remoteJid : this.localJid;
53
+        this.responderJid = this.isInitiator ? this.remoteJid : this.localJid;
54 54
 
55 55
         /**
56 56
          * Whether to use dripping or not. Dripping is sending trickle

+ 1
- 1
modules/xmpp/JingleSessionPC.js Просмотреть файл

@@ -1033,7 +1033,7 @@ export default class JingleSessionPC extends JingleSession {
1033 1033
             .c('jingle', { xmlns: 'urn:xmpp:jingle:1',
1034 1034
                 action: 'session-accept',
1035 1035
                 initiator: this.initiatorJid,
1036
-                responder: this.responder,
1036
+                responder: this.responderJid,
1037 1037
                 sid: this.sid });
1038 1038
 
1039 1039
         if (this.webrtcIceTcpDisable) {

Загрузка…
Отмена
Сохранить