mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 19:11:45 +00:00
Fixes problems processing invites, build rooms differently based on their membership
This commit is contained in:
committed by
Stefan Ceriu
parent
e281a3f242
commit
404b78e7c7
@@ -165,19 +165,14 @@ class JoinedRoomProxy: JoinedRoomProxyProtocol {
|
||||
room.activeRoomCallParticipants()
|
||||
}
|
||||
|
||||
init?(roomListService: RoomListServiceProtocol,
|
||||
roomListItem: RoomListItemProtocol,
|
||||
room: RoomProtocol) async {
|
||||
init(roomListService: RoomListServiceProtocol,
|
||||
roomListItem: RoomListItemProtocol,
|
||||
room: RoomProtocol) async throws {
|
||||
self.roomListService = roomListService
|
||||
self.roomListItem = roomListItem
|
||||
self.room = room
|
||||
|
||||
do {
|
||||
timeline = try await TimelineProxy(timeline: room.timeline(), isLive: true)
|
||||
} catch {
|
||||
MXLog.error("Failed creating timeline with error: \(error)")
|
||||
return nil
|
||||
}
|
||||
timeline = try await TimelineProxy(timeline: room.timeline(), isLive: true)
|
||||
|
||||
Task {
|
||||
await updateMembers()
|
||||
|
||||
Reference in New Issue
Block a user