зеркало из https://github.com/nextcloud/spreed.git
Make sure to always pass a list in the "usersChanged" event.
Signed-off-by: Joachim Bauch <bauch@struktur.de>
This commit is contained in:
Родитель
314b450774
Коммит
e738a7a98c
|
@ -1184,7 +1184,7 @@
|
|||
OCA.Talk.Signaling.Standalone.prototype.processRoomParticipantsEvent = function(data) {
|
||||
switch (data.event.type) {
|
||||
case "update":
|
||||
this._trigger("usersChanged", [data.event.update.users]);
|
||||
this._trigger("usersChanged", [data.event.update.users || []]);
|
||||
this._trigger("participantListChanged");
|
||||
this.internalSyncRooms();
|
||||
break;
|
||||
|
|
Загрузка…
Ссылка в новой задаче