зеркало из https://github.com/nextcloud/spreed.git
Merge pull request #368 from nextcloud/fix_room_delete
Use updated API to leave the current call.
This commit is contained in:
Коммит
68f695d4b4
|
@ -336,8 +336,7 @@
|
|||
|
||||
//If user is in that room, it should leave that room first.
|
||||
if (this.model.get('active')) {
|
||||
OCA.SpreedMe.Rooms.leaveCurrentRoom();
|
||||
OCA.SpreedMe.Rooms.showRoomDeletedMessage(true);
|
||||
OCA.SpreedMe.Calls.leaveCurrentCall(true);
|
||||
OC.Util.History.pushState({}, OC.generateUrl('/apps/spreed'));
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче