Browse Source

use lib to change chat subject

master
isymchych 9 years ago
parent
commit
d31aca4483
4 changed files with 110 additions and 83 deletions
  1. 5
    4
      conference.js
  2. 102
    77
      libs/lib-jitsi-meet.js
  3. 1
    1
      modules/UI/side_pannels/chat/Commands.js
  4. 2
    1
      service/UI/UIEvents.js

+ 5
- 4
conference.js View File

634
 
634
 
635
         });
635
         });
636
 
636
 
637
-        APP.UI.addListener(UIEvents.TOPIC_CHANGED, (topic) => {
638
-            // FIXME handle topic change
639
-            // APP.xmpp.setSubject(topic);
640
-            // on SUBJECT_CHANGED UI.setSubject(topic);
637
+        APP.UI.addListener(UIEvents.SUBJECT_CHANGED, (topic) => {
638
+            room.setSubject(topic);
639
+        });
640
+        room.on(ConferenceEvents.SUBJECT_CHANGED, function (subject) {
641
+            APP.UI.setSubject(subject);
641
         });
642
         });
642
 
643
 
643
         APP.UI.addListener(UIEvents.USER_KICKED, (id) => {
644
         APP.UI.addListener(UIEvents.USER_KICKED, (id) => {

+ 102
- 77
libs/lib-jitsi-meet.js View File

258
     }
258
     }
259
 };
259
 };
260
 
260
 
261
+/**
262
+ * Set new subject for this conference. (available only for moderator)
263
+ * @param {string} subject new subject
264
+ */
265
+JitsiConference.prototype.setSubject = function (subject) {
266
+    if (this.room && this.isModerator()) {
267
+        this.room.setSubject(subject);
268
+    }
269
+};
270
+
261
 /**
271
 /**
262
  * Adds JitsiLocalTrack object to the conference.
272
  * Adds JitsiLocalTrack object to the conference.
263
  * @param track the JitsiLocalTrack object.
273
  * @param track the JitsiLocalTrack object.
785
         }
795
         }
786
     );
796
     );
787
 
797
 
798
+    conference.room.addListener(XMPPEvents.SUBJECT_CHANGED, function (subject) {
799
+        conference.eventEmitter.emit(JitsiConferenceEvents.SUBJECT_CHANGED, subject);
800
+    });
801
+
788
     conference.room.addListener(XMPPEvents.MUC_JOINED, function () {
802
     conference.room.addListener(XMPPEvents.MUC_JOINED, function () {
789
         conference.eventEmitter.emit(JitsiConferenceEvents.CONFERENCE_JOINED);
803
         conference.eventEmitter.emit(JitsiConferenceEvents.CONFERENCE_JOINED);
790
     });
804
     });
1001
 module.exports = JitsiConference;
1015
 module.exports = JitsiConference;
1002
 
1016
 
1003
 }).call(this,"/JitsiConference.js")
1017
 }).call(this,"/JitsiConference.js")
1004
-},{"./JitsiConferenceErrors":2,"./JitsiConferenceEvents":3,"./JitsiParticipant":8,"./JitsiTrackEvents":10,"./modules/DTMF/JitsiDTMFManager":11,"./modules/RTC/RTC":16,"./modules/settings/Settings":21,"./modules/statistics/statistics":25,"./service/RTC/RTCEvents":132,"./service/authentication/AuthenticationEvents":134,"./service/xmpp/XMPPEvents":138,"events":45,"jitsi-meet-logger":49}],2:[function(require,module,exports){
1018
+},{"./JitsiConferenceErrors":2,"./JitsiConferenceEvents":3,"./JitsiParticipant":8,"./JitsiTrackEvents":10,"./modules/DTMF/JitsiDTMFManager":11,"./modules/RTC/RTC":16,"./modules/settings/Settings":21,"./modules/statistics/statistics":25,"./service/RTC/RTCEvents":136,"./service/authentication/AuthenticationEvents":138,"./service/xmpp/XMPPEvents":142,"events":45,"jitsi-meet-logger":49}],2:[function(require,module,exports){
1005
 /**
1019
 /**
1006
  * Enumeration with the errors for the conference.
1020
  * Enumeration with the errors for the conference.
1007
  * @type {{string: string}}
1021
  * @type {{string: string}}
1077
      * A user has changed it display name
1091
      * A user has changed it display name
1078
      */
1092
      */
1079
     DISPLAY_NAME_CHANGED: "conference.displayNameChanged",
1093
     DISPLAY_NAME_CHANGED: "conference.displayNameChanged",
1094
+    /**
1095
+     * Indicates that subject of the conference has changed.
1096
+     */
1097
+    SUBJECT_CHANGED: "conference.subjectChanged",
1080
     /**
1098
     /**
1081
      * A participant avatar has changed.
1099
      * A participant avatar has changed.
1082
      */
1100
      */
1419
 
1437
 
1420
 module.exports = LibJitsiMeet;
1438
 module.exports = LibJitsiMeet;
1421
 
1439
 
1422
-},{"./JitsiConferenceErrors":2,"./JitsiConferenceEvents":3,"./JitsiConnection":4,"./JitsiConnectionErrors":5,"./JitsiConnectionEvents":6,"./JitsiTrackErrors":9,"./JitsiTrackEvents":10,"./modules/RTC/RTC":16,"./modules/statistics/statistics":25,"./service/RTC/Resolutions":133,"es6-promise":47,"jitsi-meet-logger":49}],8:[function(require,module,exports){
1440
+},{"./JitsiConferenceErrors":2,"./JitsiConferenceEvents":3,"./JitsiConnection":4,"./JitsiConnectionErrors":5,"./JitsiConnectionEvents":6,"./JitsiTrackErrors":9,"./JitsiTrackEvents":10,"./modules/RTC/RTC":16,"./modules/statistics/statistics":25,"./service/RTC/Resolutions":137,"es6-promise":47,"jitsi-meet-logger":49}],8:[function(require,module,exports){
1423
 /* global Strophe */
1441
 /* global Strophe */
1424
 
1442
 
1425
 /**
1443
 /**
1867
 
1885
 
1868
 
1886
 
1869
 }).call(this,"/modules/RTC/DataChannels.js")
1887
 }).call(this,"/modules/RTC/DataChannels.js")
1870
-},{"../../service/RTC/RTCEvents":132,"jitsi-meet-logger":49}],13:[function(require,module,exports){
1888
+},{"../../service/RTC/RTCEvents":136,"jitsi-meet-logger":49}],13:[function(require,module,exports){
1871
 var JitsiTrack = require("./JitsiTrack");
1889
 var JitsiTrack = require("./JitsiTrack");
1872
 var RTCBrowserType = require("./RTCBrowserType");
1890
 var RTCBrowserType = require("./RTCBrowserType");
1873
 var JitsiTrackEvents = require('../../JitsiTrackEvents');
1891
 var JitsiTrackEvents = require('../../JitsiTrackEvents');
2644
 }
2662
 }
2645
 module.exports = RTC;
2663
 module.exports = RTC;
2646
 
2664
 
2647
-},{"../../service/RTC/MediaStreamTypes":131,"../../service/RTC/RTCEvents.js":132,"../../service/desktopsharing/DesktopSharingEventTypes":135,"./DataChannels":12,"./JitsiLocalTrack.js":13,"./JitsiRemoteTrack.js":14,"./JitsiTrack":15,"./RTCBrowserType":17,"./RTCUtils.js":18,"events":45}],17:[function(require,module,exports){
2665
+},{"../../service/RTC/MediaStreamTypes":135,"../../service/RTC/RTCEvents.js":136,"../../service/desktopsharing/DesktopSharingEventTypes":139,"./DataChannels":12,"./JitsiLocalTrack.js":13,"./JitsiRemoteTrack.js":14,"./JitsiTrack":15,"./RTCBrowserType":17,"./RTCUtils.js":18,"events":45}],17:[function(require,module,exports){
2648
 
2666
 
2649
 var currentBrowser;
2667
 var currentBrowser;
2650
 
2668
 
3637
 module.exports = RTCUtils;
3655
 module.exports = RTCUtils;
3638
 
3656
 
3639
 }).call(this,"/modules/RTC/RTCUtils.js")
3657
 }).call(this,"/modules/RTC/RTCUtils.js")
3640
-},{"../../JitsiTrackErrors":9,"../../service/RTC/RTCEvents":132,"../../service/RTC/Resolutions":133,"../xmpp/SDPUtil":33,"./RTCBrowserType":17,"./ScreenObtainer":19,"./adapter.screenshare":20,"events":45,"jitsi-meet-logger":49}],19:[function(require,module,exports){
3658
+},{"../../JitsiTrackErrors":9,"../../service/RTC/RTCEvents":136,"../../service/RTC/Resolutions":137,"../xmpp/SDPUtil":33,"./RTCBrowserType":17,"./ScreenObtainer":19,"./adapter.screenshare":20,"events":45,"jitsi-meet-logger":49}],19:[function(require,module,exports){
3641
 (function (__filename){
3659
 (function (__filename){
3642
 /* global chrome, $, alert */
3660
 /* global chrome, $, alert */
3643
 /* jshint -W003 */
3661
 /* jshint -W003 */
4053
 module.exports = ScreenObtainer;
4071
 module.exports = ScreenObtainer;
4054
 
4072
 
4055
 }).call(this,"/modules/RTC/ScreenObtainer.js")
4073
 }).call(this,"/modules/RTC/ScreenObtainer.js")
4056
-},{"../../JitsiTrackErrors":9,"../../service/desktopsharing/DesktopSharingEventTypes":135,"./RTCBrowserType":17,"./adapter.screenshare":20,"jitsi-meet-logger":49}],20:[function(require,module,exports){
4074
+},{"../../JitsiTrackErrors":9,"../../service/desktopsharing/DesktopSharingEventTypes":139,"./RTCBrowserType":17,"./adapter.screenshare":20,"jitsi-meet-logger":49}],20:[function(require,module,exports){
4057
 (function (__filename){
4075
 (function (__filename){
4058
 /*! adapterjs - v0.12.3 - 2015-11-16 */
4076
 /*! adapterjs - v0.12.3 - 2015-11-16 */
4059
 var console = require("jitsi-meet-logger").getLogger(__filename);
4077
 var console = require("jitsi-meet-logger").getLogger(__filename);
5587
 module.exports = CallStats;
5605
 module.exports = CallStats;
5588
 
5606
 
5589
 }).call(this,"/modules/statistics/CallStats.js")
5607
 }).call(this,"/modules/statistics/CallStats.js")
5590
-},{"jitsi-meet-logger":49,"jssha":50,"socket.io-client":81}],23:[function(require,module,exports){
5608
+},{"jitsi-meet-logger":49,"jssha":50,"socket.io-client":85}],23:[function(require,module,exports){
5591
 /* global config */
5609
 /* global config */
5592
 /**
5610
 /**
5593
  * Provides statistics for the local stream.
5611
  * Provides statistics for the local stream.
6444
 };
6462
 };
6445
 
6463
 
6446
 }).call(this,"/modules/statistics/RTPStatsCollector.js")
6464
 }).call(this,"/modules/statistics/RTPStatsCollector.js")
6447
-},{"../../service/statistics/Events":136,"../RTC/RTCBrowserType":17,"jitsi-meet-logger":49}],25:[function(require,module,exports){
6465
+},{"../../service/statistics/Events":140,"../RTC/RTCBrowserType":17,"jitsi-meet-logger":49}],25:[function(require,module,exports){
6448
 /* global require, APP */
6466
 /* global require, APP */
6449
 var LocalStats = require("./LocalStatsCollector.js");
6467
 var LocalStats = require("./LocalStatsCollector.js");
6450
 var RTPStats = require("./RTPStatsCollector.js");
6468
 var RTPStats = require("./RTPStatsCollector.js");
6728
 
6746
 
6729
 module.exports = Statistics;
6747
 module.exports = Statistics;
6730
 
6748
 
6731
-},{"../../service/statistics/Events":136,"../../service/statistics/constants":137,"./CallStats":22,"./LocalStatsCollector.js":23,"./RTPStatsCollector.js":24,"events":45}],26:[function(require,module,exports){
6749
+},{"../../service/statistics/Events":140,"../../service/statistics/constants":141,"./CallStats":22,"./LocalStatsCollector.js":23,"./RTPStatsCollector.js":24,"events":45}],26:[function(require,module,exports){
6732
 /**
6750
 /**
6733
 /**
6751
 /**
6734
  * @const
6752
  * @const
7594
     var msg = $msg({to: this.roomjid, type: 'groupchat'});
7612
     var msg = $msg({to: this.roomjid, type: 'groupchat'});
7595
     msg.c('subject', subject);
7613
     msg.c('subject', subject);
7596
     this.connection.send(msg);
7614
     this.connection.send(msg);
7597
-    logger.log("topic changed to " + subject);
7598
 };
7615
 };
7599
 
7616
 
7600
 
7617
 
8048
 module.exports = ChatRoom;
8065
 module.exports = ChatRoom;
8049
 
8066
 
8050
 }).call(this,"/modules/xmpp/ChatRoom.js")
8067
 }).call(this,"/modules/xmpp/ChatRoom.js")
8051
-},{"../../service/xmpp/XMPPEvents":138,"./moderator":35,"./recording":36,"events":45,"jitsi-meet-logger":49}],29:[function(require,module,exports){
8068
+},{"../../service/xmpp/XMPPEvents":142,"./moderator":35,"./recording":36,"events":45,"jitsi-meet-logger":49}],29:[function(require,module,exports){
8052
 (function (__filename){
8069
 (function (__filename){
8053
 /*
8070
 /*
8054
  * JingleSession provides an API to manage a single Jingle session. We will
8071
  * JingleSession provides an API to manage a single Jingle session. We will
9847
 module.exports = JingleSessionPC;
9864
 module.exports = JingleSessionPC;
9848
 
9865
 
9849
 }).call(this,"/modules/xmpp/JingleSessionPC.js")
9866
 }).call(this,"/modules/xmpp/JingleSessionPC.js")
9850
-},{"../../service/xmpp/XMPPEvents":138,"../RTC/RTC":16,"../RTC/RTCBrowserType":17,"./JingleSession":29,"./SDP":31,"./SDPDiffer":32,"./SDPUtil":33,"./TraceablePeerConnection":34,"async":44,"jitsi-meet-logger":49,"sdp-transform":78}],31:[function(require,module,exports){
9867
+},{"../../service/xmpp/XMPPEvents":142,"../RTC/RTC":16,"../RTC/RTCBrowserType":17,"./JingleSession":29,"./SDP":31,"./SDPDiffer":32,"./SDPUtil":33,"./TraceablePeerConnection":34,"async":44,"jitsi-meet-logger":49,"sdp-transform":82}],31:[function(require,module,exports){
9851
 (function (__filename){
9868
 (function (__filename){
9852
 /* jshint -W117 */
9869
 /* jshint -W117 */
9853
 
9870
 
11542
 module.exports = TraceablePeerConnection;
11559
 module.exports = TraceablePeerConnection;
11543
 
11560
 
11544
 }).call(this,"/modules/xmpp/TraceablePeerConnection.js")
11561
 }).call(this,"/modules/xmpp/TraceablePeerConnection.js")
11545
-},{"../../service/xmpp/XMPPEvents":138,"../RTC/RTC":16,"../RTC/RTCBrowserType.js":17,"../util/RandomUtil":26,"jitsi-meet-logger":49,"sdp-interop":68,"sdp-simulcast":75,"sdp-transform":78}],35:[function(require,module,exports){
11562
+},{"../../service/xmpp/XMPPEvents":142,"../RTC/RTC":16,"../RTC/RTCBrowserType.js":17,"../util/RandomUtil":26,"jitsi-meet-logger":49,"sdp-interop":68,"sdp-simulcast":75,"sdp-transform":82}],35:[function(require,module,exports){
11546
 (function (__filename){
11563
 (function (__filename){
11547
 /* global $, $iq, Promise, Strophe */
11564
 /* global $, $iq, Promise, Strophe */
11548
 
11565
 
11998
 module.exports = Moderator;
12015
 module.exports = Moderator;
11999
 
12016
 
12000
 }).call(this,"/modules/xmpp/moderator.js")
12017
 }).call(this,"/modules/xmpp/moderator.js")
12001
-},{"../../service/authentication/AuthenticationEvents":134,"../../service/xmpp/XMPPEvents":138,"jitsi-meet-logger":49}],36:[function(require,module,exports){
12018
+},{"../../service/authentication/AuthenticationEvents":138,"../../service/xmpp/XMPPEvents":142,"jitsi-meet-logger":49}],36:[function(require,module,exports){
12002
 (function (__filename){
12019
 (function (__filename){
12003
 /* global $, $iq, config, connection, focusMucJid, messageHandler,
12020
 /* global $, $iq, config, connection, focusMucJid, messageHandler,
12004
    Toolbar, Util, Promise */
12021
    Toolbar, Util, Promise */
12225
 module.exports = Recording;
12242
 module.exports = Recording;
12226
 
12243
 
12227
 }).call(this,"/modules/xmpp/recording.js")
12244
 }).call(this,"/modules/xmpp/recording.js")
12228
-},{"../../service/xmpp/XMPPEvents":138,"jitsi-meet-logger":49}],37:[function(require,module,exports){
12245
+},{"../../service/xmpp/XMPPEvents":142,"jitsi-meet-logger":49}],37:[function(require,module,exports){
12229
 (function (__filename){
12246
 (function (__filename){
12230
 /* jshint -W117 */
12247
 /* jshint -W117 */
12231
 /* a simple MUC connection plugin
12248
 /* a simple MUC connection plugin
12635
 
12652
 
12636
 
12653
 
12637
 }).call(this,"/modules/xmpp/strophe.jingle.js")
12654
 }).call(this,"/modules/xmpp/strophe.jingle.js")
12638
-},{"../../service/xmpp/XMPPEvents":138,"../RTC/RTCBrowserType":17,"./JingleSessionPC":30,"jitsi-meet-logger":49}],39:[function(require,module,exports){
12655
+},{"../../service/xmpp/XMPPEvents":142,"../RTC/RTCBrowserType":17,"./JingleSessionPC":30,"jitsi-meet-logger":49}],39:[function(require,module,exports){
12639
 /* global Strophe */
12656
 /* global Strophe */
12640
 module.exports = function () {
12657
 module.exports = function () {
12641
 
12658
 
12783
 };
12800
 };
12784
 
12801
 
12785
 }).call(this,"/modules/xmpp/strophe.ping.js")
12802
 }).call(this,"/modules/xmpp/strophe.ping.js")
12786
-},{"../../service/xmpp/XMPPEvents":138,"jitsi-meet-logger":49}],41:[function(require,module,exports){
12803
+},{"../../service/xmpp/XMPPEvents":142,"jitsi-meet-logger":49}],41:[function(require,module,exports){
12787
 (function (__filename){
12804
 (function (__filename){
12788
 /* jshint -W117 */
12805
 /* jshint -W117 */
12789
 var logger = require("jitsi-meet-logger").getLogger(__filename);
12806
 var logger = require("jitsi-meet-logger").getLogger(__filename);
13261
 module.exports = XMPP;
13278
 module.exports = XMPP;
13262
 
13279
 
13263
 }).call(this,"/modules/xmpp/xmpp.js")
13280
 }).call(this,"/modules/xmpp/xmpp.js")
13264
-},{"../../JitsiConnectionErrors":5,"../../JitsiConnectionEvents":6,"../../service/RTC/RTCEvents":132,"../../service/xmpp/XMPPEvents":138,"../RTC/RTC":16,"./strophe.emuc":37,"./strophe.jingle":38,"./strophe.logger":39,"./strophe.ping":40,"./strophe.rayo":41,"./strophe.util":42,"events":45,"jitsi-meet-logger":49,"pako":51}],44:[function(require,module,exports){
13281
+},{"../../JitsiConnectionErrors":5,"../../JitsiConnectionEvents":6,"../../service/RTC/RTCEvents":136,"../../service/xmpp/XMPPEvents":142,"../RTC/RTC":16,"./strophe.emuc":37,"./strophe.jingle":38,"./strophe.logger":39,"./strophe.ping":40,"./strophe.rayo":41,"./strophe.util":42,"events":45,"jitsi-meet-logger":49,"pako":51}],44:[function(require,module,exports){
13265
 (function (process){
13282
 (function (process){
13266
 /*!
13283
 /*!
13267
  * async
13284
  * async
24326
 },{"./grammar":77,"dup":73}],80:[function(require,module,exports){
24343
 },{"./grammar":77,"dup":73}],80:[function(require,module,exports){
24327
 arguments[4][74][0].apply(exports,arguments)
24344
 arguments[4][74][0].apply(exports,arguments)
24328
 },{"./grammar":77,"dup":74}],81:[function(require,module,exports){
24345
 },{"./grammar":77,"dup":74}],81:[function(require,module,exports){
24346
+arguments[4][71][0].apply(exports,arguments)
24347
+},{"dup":71}],82:[function(require,module,exports){
24348
+arguments[4][72][0].apply(exports,arguments)
24349
+},{"./parser":83,"./writer":84,"dup":72}],83:[function(require,module,exports){
24350
+arguments[4][73][0].apply(exports,arguments)
24351
+},{"./grammar":81,"dup":73}],84:[function(require,module,exports){
24352
+arguments[4][74][0].apply(exports,arguments)
24353
+},{"./grammar":81,"dup":74}],85:[function(require,module,exports){
24329
 
24354
 
24330
 module.exports = require('./lib/');
24355
 module.exports = require('./lib/');
24331
 
24356
 
24332
-},{"./lib/":82}],82:[function(require,module,exports){
24357
+},{"./lib/":86}],86:[function(require,module,exports){
24333
 
24358
 
24334
 /**
24359
 /**
24335
  * Module dependencies.
24360
  * Module dependencies.
24418
 exports.Manager = require('./manager');
24443
 exports.Manager = require('./manager');
24419
 exports.Socket = require('./socket');
24444
 exports.Socket = require('./socket');
24420
 
24445
 
24421
-},{"./manager":83,"./socket":85,"./url":86,"debug":90,"socket.io-parser":126}],83:[function(require,module,exports){
24446
+},{"./manager":87,"./socket":89,"./url":90,"debug":94,"socket.io-parser":130}],87:[function(require,module,exports){
24422
 
24447
 
24423
 /**
24448
 /**
24424
  * Module dependencies.
24449
  * Module dependencies.
24923
   this.emitAll('reconnect', attempt);
24948
   this.emitAll('reconnect', attempt);
24924
 };
24949
 };
24925
 
24950
 
24926
-},{"./on":84,"./socket":85,"./url":86,"backo2":87,"component-bind":88,"component-emitter":89,"debug":90,"engine.io-client":91,"indexof":122,"object-component":123,"socket.io-parser":126}],84:[function(require,module,exports){
24951
+},{"./on":88,"./socket":89,"./url":90,"backo2":91,"component-bind":92,"component-emitter":93,"debug":94,"engine.io-client":95,"indexof":126,"object-component":127,"socket.io-parser":130}],88:[function(require,module,exports){
24927
 
24952
 
24928
 /**
24953
 /**
24929
  * Module exports.
24954
  * Module exports.
24949
   };
24974
   };
24950
 }
24975
 }
24951
 
24976
 
24952
-},{}],85:[function(require,module,exports){
24977
+},{}],89:[function(require,module,exports){
24953
 
24978
 
24954
 /**
24979
 /**
24955
  * Module dependencies.
24980
  * Module dependencies.
25336
   return this;
25361
   return this;
25337
 };
25362
 };
25338
 
25363
 
25339
-},{"./on":84,"component-bind":88,"component-emitter":89,"debug":90,"has-binary":120,"socket.io-parser":126,"to-array":130}],86:[function(require,module,exports){
25364
+},{"./on":88,"component-bind":92,"component-emitter":93,"debug":94,"has-binary":124,"socket.io-parser":130,"to-array":134}],90:[function(require,module,exports){
25340
 (function (global){
25365
 (function (global){
25341
 
25366
 
25342
 /**
25367
 /**
25413
 }
25438
 }
25414
 
25439
 
25415
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
25440
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
25416
-},{"debug":90,"parseuri":124}],87:[function(require,module,exports){
25441
+},{"debug":94,"parseuri":128}],91:[function(require,module,exports){
25417
 
25442
 
25418
 /**
25443
 /**
25419
  * Expose `Backoff`.
25444
  * Expose `Backoff`.
25500
 };
25525
 };
25501
 
25526
 
25502
 
25527
 
25503
-},{}],88:[function(require,module,exports){
25528
+},{}],92:[function(require,module,exports){
25504
 /**
25529
 /**
25505
  * Slice reference.
25530
  * Slice reference.
25506
  */
25531
  */
25525
   }
25550
   }
25526
 };
25551
 };
25527
 
25552
 
25528
-},{}],89:[function(require,module,exports){
25553
+},{}],93:[function(require,module,exports){
25529
 
25554
 
25530
 /**
25555
 /**
25531
  * Expose `Emitter`.
25556
  * Expose `Emitter`.
25691
   return !! this.listeners(event).length;
25716
   return !! this.listeners(event).length;
25692
 };
25717
 };
25693
 
25718
 
25694
-},{}],90:[function(require,module,exports){
25719
+},{}],94:[function(require,module,exports){
25695
 
25720
 
25696
 /**
25721
 /**
25697
  * Expose `debug()` as the module.
25722
  * Expose `debug()` as the module.
25830
   if (window.localStorage) debug.enable(localStorage.debug);
25855
   if (window.localStorage) debug.enable(localStorage.debug);
25831
 } catch(e){}
25856
 } catch(e){}
25832
 
25857
 
25833
-},{}],91:[function(require,module,exports){
25858
+},{}],95:[function(require,module,exports){
25834
 
25859
 
25835
 module.exports =  require('./lib/');
25860
 module.exports =  require('./lib/');
25836
 
25861
 
25837
-},{"./lib/":92}],92:[function(require,module,exports){
25862
+},{"./lib/":96}],96:[function(require,module,exports){
25838
 
25863
 
25839
 module.exports = require('./socket');
25864
 module.exports = require('./socket');
25840
 
25865
 
25846
  */
25871
  */
25847
 module.exports.parser = require('engine.io-parser');
25872
 module.exports.parser = require('engine.io-parser');
25848
 
25873
 
25849
-},{"./socket":93,"engine.io-parser":105}],93:[function(require,module,exports){
25874
+},{"./socket":97,"engine.io-parser":109}],97:[function(require,module,exports){
25850
 (function (global){
25875
 (function (global){
25851
 /**
25876
 /**
25852
  * Module dependencies.
25877
  * Module dependencies.
26555
 };
26580
 };
26556
 
26581
 
26557
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
26582
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
26558
-},{"./transport":94,"./transports":95,"component-emitter":89,"debug":102,"engine.io-parser":105,"indexof":122,"parsejson":116,"parseqs":117,"parseuri":118}],94:[function(require,module,exports){
26583
+},{"./transport":98,"./transports":99,"component-emitter":93,"debug":106,"engine.io-parser":109,"indexof":126,"parsejson":120,"parseqs":121,"parseuri":122}],98:[function(require,module,exports){
26559
 /**
26584
 /**
26560
  * Module dependencies.
26585
  * Module dependencies.
26561
  */
26586
  */
26716
   this.emit('close');
26741
   this.emit('close');
26717
 };
26742
 };
26718
 
26743
 
26719
-},{"component-emitter":89,"engine.io-parser":105}],95:[function(require,module,exports){
26744
+},{"component-emitter":93,"engine.io-parser":109}],99:[function(require,module,exports){
26720
 (function (global){
26745
 (function (global){
26721
 /**
26746
 /**
26722
  * Module dependencies
26747
  * Module dependencies
26773
 }
26798
 }
26774
 
26799
 
26775
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
26800
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
26776
-},{"./polling-jsonp":96,"./polling-xhr":97,"./websocket":99,"xmlhttprequest":100}],96:[function(require,module,exports){
26801
+},{"./polling-jsonp":100,"./polling-xhr":101,"./websocket":103,"xmlhttprequest":104}],100:[function(require,module,exports){
26777
 (function (global){
26802
 (function (global){
26778
 
26803
 
26779
 /**
26804
 /**
27010
 };
27035
 };
27011
 
27036
 
27012
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
27037
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
27013
-},{"./polling":98,"component-inherit":101}],97:[function(require,module,exports){
27038
+},{"./polling":102,"component-inherit":105}],101:[function(require,module,exports){
27014
 (function (global){
27039
 (function (global){
27015
 /**
27040
 /**
27016
  * Module requirements.
27041
  * Module requirements.
27398
 }
27423
 }
27399
 
27424
 
27400
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
27425
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
27401
-},{"./polling":98,"component-emitter":89,"component-inherit":101,"debug":102,"xmlhttprequest":100}],98:[function(require,module,exports){
27426
+},{"./polling":102,"component-emitter":93,"component-inherit":105,"debug":106,"xmlhttprequest":104}],102:[function(require,module,exports){
27402
 /**
27427
 /**
27403
  * Module dependencies.
27428
  * Module dependencies.
27404
  */
27429
  */
27645
   return schema + '://' + this.hostname + port + this.path + query;
27670
   return schema + '://' + this.hostname + port + this.path + query;
27646
 };
27671
 };
27647
 
27672
 
27648
-},{"../transport":94,"component-inherit":101,"debug":102,"engine.io-parser":105,"parseqs":117,"xmlhttprequest":100}],99:[function(require,module,exports){
27673
+},{"../transport":98,"component-inherit":105,"debug":106,"engine.io-parser":109,"parseqs":121,"xmlhttprequest":104}],103:[function(require,module,exports){
27649
 /**
27674
 /**
27650
  * Module dependencies.
27675
  * Module dependencies.
27651
  */
27676
  */
27885
   return !!WebSocket && !('__initialize' in WebSocket && this.name === WS.prototype.name);
27910
   return !!WebSocket && !('__initialize' in WebSocket && this.name === WS.prototype.name);
27886
 };
27911
 };
27887
 
27912
 
27888
-},{"../transport":94,"component-inherit":101,"debug":102,"engine.io-parser":105,"parseqs":117,"ws":119}],100:[function(require,module,exports){
27913
+},{"../transport":98,"component-inherit":105,"debug":106,"engine.io-parser":109,"parseqs":121,"ws":123}],104:[function(require,module,exports){
27889
 // browser shim for xmlhttprequest module
27914
 // browser shim for xmlhttprequest module
27890
 var hasCORS = require('has-cors');
27915
 var hasCORS = require('has-cors');
27891
 
27916
 
27923
   }
27948
   }
27924
 }
27949
 }
27925
 
27950
 
27926
-},{"has-cors":114}],101:[function(require,module,exports){
27951
+},{"has-cors":118}],105:[function(require,module,exports){
27927
 
27952
 
27928
 module.exports = function(a, b){
27953
 module.exports = function(a, b){
27929
   var fn = function(){};
27954
   var fn = function(){};
27931
   a.prototype = new fn;
27956
   a.prototype = new fn;
27932
   a.prototype.constructor = a;
27957
   a.prototype.constructor = a;
27933
 };
27958
 };
27934
-},{}],102:[function(require,module,exports){
27959
+},{}],106:[function(require,module,exports){
27935
 
27960
 
27936
 /**
27961
 /**
27937
  * This is the web browser implementation of `debug()`.
27962
  * This is the web browser implementation of `debug()`.
28080
 
28105
 
28081
 exports.enable(load());
28106
 exports.enable(load());
28082
 
28107
 
28083
-},{"./debug":103}],103:[function(require,module,exports){
28108
+},{"./debug":107}],107:[function(require,module,exports){
28084
 
28109
 
28085
 /**
28110
 /**
28086
  * This is the common logic for both the Node.js and web browser
28111
  * This is the common logic for both the Node.js and web browser
28279
   return val;
28304
   return val;
28280
 }
28305
 }
28281
 
28306
 
28282
-},{"ms":104}],104:[function(require,module,exports){
28307
+},{"ms":108}],108:[function(require,module,exports){
28283
 /**
28308
 /**
28284
  * Helpers.
28309
  * Helpers.
28285
  */
28310
  */
28392
   return Math.ceil(ms / n) + ' ' + name + 's';
28417
   return Math.ceil(ms / n) + ' ' + name + 's';
28393
 }
28418
 }
28394
 
28419
 
28395
-},{}],105:[function(require,module,exports){
28420
+},{}],109:[function(require,module,exports){
28396
 (function (global){
28421
 (function (global){
28397
 /**
28422
 /**
28398
  * Module dependencies.
28423
  * Module dependencies.
28990
 };
29015
 };
28991
 
29016
 
28992
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
29017
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
28993
-},{"./keys":106,"after":107,"arraybuffer.slice":108,"base64-arraybuffer":109,"blob":110,"has-binary":111,"utf8":113}],106:[function(require,module,exports){
29018
+},{"./keys":110,"after":111,"arraybuffer.slice":112,"base64-arraybuffer":113,"blob":114,"has-binary":115,"utf8":117}],110:[function(require,module,exports){
28994
 
29019
 
28995
 /**
29020
 /**
28996
  * Gets the keys for an object.
29021
  * Gets the keys for an object.
29011
   return arr;
29036
   return arr;
29012
 };
29037
 };
29013
 
29038
 
29014
-},{}],107:[function(require,module,exports){
29039
+},{}],111:[function(require,module,exports){
29015
 module.exports = after
29040
 module.exports = after
29016
 
29041
 
29017
 function after(count, callback, err_cb) {
29042
 function after(count, callback, err_cb) {
29041
 
29066
 
29042
 function noop() {}
29067
 function noop() {}
29043
 
29068
 
29044
-},{}],108:[function(require,module,exports){
29069
+},{}],112:[function(require,module,exports){
29045
 /**
29070
 /**
29046
  * An abstraction for slicing an arraybuffer even when
29071
  * An abstraction for slicing an arraybuffer even when
29047
  * ArrayBuffer.prototype.slice is not supported
29072
  * ArrayBuffer.prototype.slice is not supported
29072
   return result.buffer;
29097
   return result.buffer;
29073
 };
29098
 };
29074
 
29099
 
29075
-},{}],109:[function(require,module,exports){
29100
+},{}],113:[function(require,module,exports){
29076
 /*
29101
 /*
29077
  * base64-arraybuffer
29102
  * base64-arraybuffer
29078
  * https://github.com/niklasvh/base64-arraybuffer
29103
  * https://github.com/niklasvh/base64-arraybuffer
29133
   };
29158
   };
29134
 })("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/");
29159
 })("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/");
29135
 
29160
 
29136
-},{}],110:[function(require,module,exports){
29161
+},{}],114:[function(require,module,exports){
29137
 (function (global){
29162
 (function (global){
29138
 /**
29163
 /**
29139
  * Create a blob builder even when vendor prefixes exist
29164
  * Create a blob builder even when vendor prefixes exist
29186
 })();
29211
 })();
29187
 
29212
 
29188
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
29213
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
29189
-},{}],111:[function(require,module,exports){
29214
+},{}],115:[function(require,module,exports){
29190
 (function (global){
29215
 (function (global){
29191
 
29216
 
29192
 /*
29217
 /*
29248
 }
29273
 }
29249
 
29274
 
29250
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
29275
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
29251
-},{"isarray":112}],112:[function(require,module,exports){
29276
+},{"isarray":116}],116:[function(require,module,exports){
29252
 module.exports = Array.isArray || function (arr) {
29277
 module.exports = Array.isArray || function (arr) {
29253
   return Object.prototype.toString.call(arr) == '[object Array]';
29278
   return Object.prototype.toString.call(arr) == '[object Array]';
29254
 };
29279
 };
29255
 
29280
 
29256
-},{}],113:[function(require,module,exports){
29281
+},{}],117:[function(require,module,exports){
29257
 (function (global){
29282
 (function (global){
29258
 /*! http://mths.be/utf8js v2.0.0 by @mathias */
29283
 /*! http://mths.be/utf8js v2.0.0 by @mathias */
29259
 ;(function(root) {
29284
 ;(function(root) {
29496
 }(this));
29521
 }(this));
29497
 
29522
 
29498
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
29523
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
29499
-},{}],114:[function(require,module,exports){
29524
+},{}],118:[function(require,module,exports){
29500
 
29525
 
29501
 /**
29526
 /**
29502
  * Module dependencies.
29527
  * Module dependencies.
29521
   module.exports = false;
29546
   module.exports = false;
29522
 }
29547
 }
29523
 
29548
 
29524
-},{"global":115}],115:[function(require,module,exports){
29549
+},{"global":119}],119:[function(require,module,exports){
29525
 
29550
 
29526
 /**
29551
 /**
29527
  * Returns `this`. Execute this without a "context" (i.e. without it being
29552
  * Returns `this`. Execute this without a "context" (i.e. without it being
29531
 
29556
 
29532
 module.exports = (function () { return this; })();
29557
 module.exports = (function () { return this; })();
29533
 
29558
 
29534
-},{}],116:[function(require,module,exports){
29559
+},{}],120:[function(require,module,exports){
29535
 (function (global){
29560
 (function (global){
29536
 /**
29561
 /**
29537
  * JSON parse.
29562
  * JSON parse.
29566
   }
29591
   }
29567
 };
29592
 };
29568
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
29593
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
29569
-},{}],117:[function(require,module,exports){
29594
+},{}],121:[function(require,module,exports){
29570
 /**
29595
 /**
29571
  * Compiles a querystring
29596
  * Compiles a querystring
29572
  * Returns string representation of the object
29597
  * Returns string representation of the object
29605
   return qry;
29630
   return qry;
29606
 };
29631
 };
29607
 
29632
 
29608
-},{}],118:[function(require,module,exports){
29633
+},{}],122:[function(require,module,exports){
29609
 /**
29634
 /**
29610
  * Parses an URI
29635
  * Parses an URI
29611
  *
29636
  *
29646
     return uri;
29671
     return uri;
29647
 };
29672
 };
29648
 
29673
 
29649
-},{}],119:[function(require,module,exports){
29674
+},{}],123:[function(require,module,exports){
29650
 
29675
 
29651
 /**
29676
 /**
29652
  * Module dependencies.
29677
  * Module dependencies.
29691
 
29716
 
29692
 if (WebSocket) ws.prototype = WebSocket.prototype;
29717
 if (WebSocket) ws.prototype = WebSocket.prototype;
29693
 
29718
 
29694
-},{}],120:[function(require,module,exports){
29719
+},{}],124:[function(require,module,exports){
29695
 (function (global){
29720
 (function (global){
29696
 
29721
 
29697
 /*
29722
 /*
29753
 }
29778
 }
29754
 
29779
 
29755
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
29780
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
29756
-},{"isarray":121}],121:[function(require,module,exports){
29757
-arguments[4][112][0].apply(exports,arguments)
29758
-},{"dup":112}],122:[function(require,module,exports){
29781
+},{"isarray":125}],125:[function(require,module,exports){
29782
+arguments[4][116][0].apply(exports,arguments)
29783
+},{"dup":116}],126:[function(require,module,exports){
29759
 
29784
 
29760
 var indexOf = [].indexOf;
29785
 var indexOf = [].indexOf;
29761
 
29786
 
29766
   }
29791
   }
29767
   return -1;
29792
   return -1;
29768
 };
29793
 };
29769
-},{}],123:[function(require,module,exports){
29794
+},{}],127:[function(require,module,exports){
29770
 
29795
 
29771
 /**
29796
 /**
29772
  * HOP ref.
29797
  * HOP ref.
29851
 exports.isEmpty = function(obj){
29876
 exports.isEmpty = function(obj){
29852
   return 0 == exports.length(obj);
29877
   return 0 == exports.length(obj);
29853
 };
29878
 };
29854
-},{}],124:[function(require,module,exports){
29879
+},{}],128:[function(require,module,exports){
29855
 /**
29880
 /**
29856
  * Parses an URI
29881
  * Parses an URI
29857
  *
29882
  *
29878
   return uri;
29903
   return uri;
29879
 };
29904
 };
29880
 
29905
 
29881
-},{}],125:[function(require,module,exports){
29906
+},{}],129:[function(require,module,exports){
29882
 (function (global){
29907
 (function (global){
29883
 /*global Blob,File*/
29908
 /*global Blob,File*/
29884
 
29909
 
30023
 };
30048
 };
30024
 
30049
 
30025
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
30050
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
30026
-},{"./is-buffer":127,"isarray":128}],126:[function(require,module,exports){
30051
+},{"./is-buffer":131,"isarray":132}],130:[function(require,module,exports){
30027
 
30052
 
30028
 /**
30053
 /**
30029
  * Module dependencies.
30054
  * Module dependencies.
30425
   };
30450
   };
30426
 }
30451
 }
30427
 
30452
 
30428
-},{"./binary":125,"./is-buffer":127,"component-emitter":89,"debug":90,"isarray":128,"json3":129}],127:[function(require,module,exports){
30453
+},{"./binary":129,"./is-buffer":131,"component-emitter":93,"debug":94,"isarray":132,"json3":133}],131:[function(require,module,exports){
30429
 (function (global){
30454
 (function (global){
30430
 
30455
 
30431
 module.exports = isBuf;
30456
 module.exports = isBuf;
30442
 }
30467
 }
30443
 
30468
 
30444
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
30469
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
30445
-},{}],128:[function(require,module,exports){
30446
-arguments[4][112][0].apply(exports,arguments)
30447
-},{"dup":112}],129:[function(require,module,exports){
30470
+},{}],132:[function(require,module,exports){
30471
+arguments[4][116][0].apply(exports,arguments)
30472
+},{"dup":116}],133:[function(require,module,exports){
30448
 /*! JSON v3.2.6 | http://bestiejs.github.io/json3 | Copyright 2012-2013, Kit Cambridge | http://kit.mit-license.org */
30473
 /*! JSON v3.2.6 | http://bestiejs.github.io/json3 | Copyright 2012-2013, Kit Cambridge | http://kit.mit-license.org */
30449
 ;(function (window) {
30474
 ;(function (window) {
30450
   // Convenience aliases.
30475
   // Convenience aliases.
31307
   }
31332
   }
31308
 }(this));
31333
 }(this));
31309
 
31334
 
31310
-},{}],130:[function(require,module,exports){
31335
+},{}],134:[function(require,module,exports){
31311
 module.exports = toArray
31336
 module.exports = toArray
31312
 
31337
 
31313
 function toArray(list, index) {
31338
 function toArray(list, index) {
31322
     return array
31347
     return array
31323
 }
31348
 }
31324
 
31349
 
31325
-},{}],131:[function(require,module,exports){
31350
+},{}],135:[function(require,module,exports){
31326
 var MediaStreamType = {
31351
 var MediaStreamType = {
31327
     VIDEO_TYPE: "Video",
31352
     VIDEO_TYPE: "Video",
31328
 
31353
 
31329
     AUDIO_TYPE: "Audio"
31354
     AUDIO_TYPE: "Audio"
31330
 };
31355
 };
31331
 module.exports = MediaStreamType;
31356
 module.exports = MediaStreamType;
31332
-},{}],132:[function(require,module,exports){
31357
+},{}],136:[function(require,module,exports){
31333
 var RTCEvents = {
31358
 var RTCEvents = {
31334
     RTC_READY: "rtc.ready",
31359
     RTC_READY: "rtc.ready",
31335
     DATA_CHANNEL_OPEN: "rtc.data_channel_open",
31360
     DATA_CHANNEL_OPEN: "rtc.data_channel_open",
31341
 };
31366
 };
31342
 
31367
 
31343
 module.exports = RTCEvents;
31368
 module.exports = RTCEvents;
31344
-},{}],133:[function(require,module,exports){
31369
+},{}],137:[function(require,module,exports){
31345
 var Resolutions = {
31370
 var Resolutions = {
31346
     "1080": {
31371
     "1080": {
31347
         width: 1920,
31372
         width: 1920,
31395
     }
31420
     }
31396
 };
31421
 };
31397
 module.exports = Resolutions;
31422
 module.exports = Resolutions;
31398
-},{}],134:[function(require,module,exports){
31423
+},{}],138:[function(require,module,exports){
31399
 var AuthenticationEvents = {
31424
 var AuthenticationEvents = {
31400
     /**
31425
     /**
31401
      * Event callback arguments:
31426
      * Event callback arguments:
31409
 };
31434
 };
31410
 module.exports = AuthenticationEvents;
31435
 module.exports = AuthenticationEvents;
31411
 
31436
 
31412
-},{}],135:[function(require,module,exports){
31437
+},{}],139:[function(require,module,exports){
31413
 var DesktopSharingEventTypes = {
31438
 var DesktopSharingEventTypes = {
31414
     /**
31439
     /**
31415
      * An event which indicates that the jidesha extension for Firefox is
31440
      * An event which indicates that the jidesha extension for Firefox is
31420
 
31445
 
31421
 module.exports = DesktopSharingEventTypes;
31446
 module.exports = DesktopSharingEventTypes;
31422
 
31447
 
31423
-},{}],136:[function(require,module,exports){
31448
+},{}],140:[function(require,module,exports){
31424
 module.exports = {
31449
 module.exports = {
31425
     /**
31450
     /**
31426
      * An event carrying connection statistics.
31451
      * An event carrying connection statistics.
31436
     STOP: "statistics.stop"
31461
     STOP: "statistics.stop"
31437
 };
31462
 };
31438
 
31463
 
31439
-},{}],137:[function(require,module,exports){
31464
+},{}],141:[function(require,module,exports){
31440
 var Constants = {
31465
 var Constants = {
31441
     LOCAL_JID: 'local'
31466
     LOCAL_JID: 'local'
31442
 };
31467
 };
31443
 module.exports = Constants;
31468
 module.exports = Constants;
31444
-},{}],138:[function(require,module,exports){
31469
+},{}],142:[function(require,module,exports){
31445
 var XMPPEvents = {
31470
 var XMPPEvents = {
31446
     // Designates an event indicating that the connection to the XMPP server
31471
     // Designates an event indicating that the connection to the XMPP server
31447
     // failed.
31472
     // failed.

+ 1
- 1
modules/UI/side_pannels/chat/Commands.js View File

32
  */
32
  */
33
 function processTopic(commandArguments, emitter) {
33
 function processTopic(commandArguments, emitter) {
34
     var topic = UIUtil.escapeHtml(commandArguments);
34
     var topic = UIUtil.escapeHtml(commandArguments);
35
-    emitter.emit(UIEvents.TOPIC_CHANGED, topic);
35
+    emitter.emit(UIEvents.SUBJECT_CHANGED, topic);
36
 }
36
 }
37
 
37
 
38
 /**
38
 /**

+ 2
- 1
service/UI/UIEvents.js View File

40
     HANGUP: "UI.hangup",
40
     HANGUP: "UI.hangup",
41
     LOGOUT: "UI.logout",
41
     LOGOUT: "UI.logout",
42
     RECORDING_TOGGLE: "UI.recording_toggle",
42
     RECORDING_TOGGLE: "UI.recording_toggle",
43
-    TOPIC_CHANGED: "UI.topic_changed"
43
+    SIP_DIAL: "UI.sip_dial",
44
+    SUBEJCT_CHANGED: "UI.subject_changed"
44
 };
45
 };

Loading…
Cancel
Save