mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:06:00 +00:00
Added the banned room proxy (#3744)
* added the banned room proxy and a way to have a consistent loading + a retry alert * trailing closure * indent a comment * push package.resolved * updated test case
This commit is contained in:
@@ -943,7 +943,9 @@ class ClientProxy: ClientProxyProtocol {
|
||||
case .left:
|
||||
return .left
|
||||
case .banned:
|
||||
return .banned
|
||||
return try await .banned(BannedRoomProxy(roomListItem: roomListItem,
|
||||
roomPreview: roomListItem.previewRoom(via: []),
|
||||
ownUserID: userID))
|
||||
}
|
||||
} catch {
|
||||
MXLog.error("Failed retrieving room: \(roomID), with error: \(error)")
|
||||
|
||||
Reference in New Issue
Block a user