|
|
@@ -101,6 +101,8 @@ JitsiConference.prototype._leaveRoomAndRemoveParticipants = function () {
|
|
101
|
101
|
this.getParticipants().forEach(function (participant) {
|
|
102
|
102
|
this.onMemberLeft(participant.getJid());
|
|
103
|
103
|
}.bind(this));
|
|
|
104
|
+
|
|
|
105
|
+ this.eventEmitter.emit(JitsiConferenceEvents.CONFERENCE_LEFT);
|
|
104
|
106
|
}
|
|
105
|
107
|
/**
|
|
106
|
108
|
* Leaves the conference.
|
|
|
@@ -1152,10 +1154,6 @@ function setupListeners(conference) {
|
|
1152
|
1154
|
node.tagName.substring("jitsi_participant_".length),
|
|
1153
|
1155
|
node.value);
|
|
1154
|
1156
|
});
|
|
1155
|
|
-// FIXME
|
|
1156
|
|
-// conference.room.addListener(XMPPEvents.MUC_JOINED, function () {
|
|
1157
|
|
-// conference.eventEmitter.emit(JitsiConferenceEvents.CONFERENCE_LEFT);
|
|
1158
|
|
-// });
|
|
1159
|
1157
|
|
|
1160
|
1158
|
conference.room.addListener(XMPPEvents.KICKED, function () {
|
|
1161
|
1159
|
conference.eventEmitter.emit(JitsiConferenceEvents.KICKED);
|