mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
Fixes #1482 - Popping the user back to the home screen after leaving a room.
This commit is contained in:
committed by
Stefan Ceriu
parent
1f09ebb579
commit
fa9d3eebb6
@@ -106,7 +106,7 @@ final class RoomInfoListViewModel: NSObject, RoomInfoListViewModelType {
|
||||
self.room.leave { (response) in
|
||||
switch response {
|
||||
case .success:
|
||||
self.coordinatorDelegate?.roomInfoListViewModelDidCancel(self)
|
||||
self.coordinatorDelegate?.roomInfoListViewModelDidLeaveRoom(self)
|
||||
case .failure(let error):
|
||||
self.startObservingSummaryChanges()
|
||||
self.update(viewState: .error(error))
|
||||
|
||||
Reference in New Issue
Block a user