mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Remove the RoomListItem from the JoinedRoomProxy
This commit is contained in:
committed by
Stefan Ceriu
parent
54a4656469
commit
154c44b701
@@ -932,7 +932,6 @@ class ClientProxy: ClientProxyProtocol {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let roomProxy = try await JoinedRoomProxy(roomListService: roomListService,
|
let roomProxy = try await JoinedRoomProxy(roomListService: roomListService,
|
||||||
roomListItem: roomListItem,
|
|
||||||
room: room)
|
room: room)
|
||||||
|
|
||||||
return .joined(roomProxy)
|
return .joined(roomProxy)
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ import UIKit
|
|||||||
|
|
||||||
class JoinedRoomProxy: JoinedRoomProxyProtocol {
|
class JoinedRoomProxy: JoinedRoomProxyProtocol {
|
||||||
private let roomListService: RoomListServiceProtocol
|
private let roomListService: RoomListServiceProtocol
|
||||||
private let roomListItem: RoomListItemProtocol
|
|
||||||
private let room: RoomProtocol
|
private let room: RoomProtocol
|
||||||
|
|
||||||
// periphery:ignore - required for instance retention in the rust codebase
|
// periphery:ignore - required for instance retention in the rust codebase
|
||||||
@@ -63,10 +62,8 @@ class JoinedRoomProxy: JoinedRoomProxyProtocol {
|
|||||||
}
|
}
|
||||||
|
|
||||||
init(roomListService: RoomListServiceProtocol,
|
init(roomListService: RoomListServiceProtocol,
|
||||||
roomListItem: RoomListItemProtocol,
|
|
||||||
room: RoomProtocol) async throws {
|
room: RoomProtocol) async throws {
|
||||||
self.roomListService = roomListService
|
self.roomListService = roomListService
|
||||||
self.roomListItem = roomListItem
|
|
||||||
self.room = room
|
self.room = room
|
||||||
|
|
||||||
infoSubject = try await .init(RoomInfoProxy(roomInfo: room.roomInfo()))
|
infoSubject = try await .init(RoomInfoProxy(roomInfo: room.roomInfo()))
|
||||||
|
|||||||
Reference in New Issue
Block a user