Remove the RoomListItem from the JoinedRoomProxy
This commit is contained in:
committed by
Stefan Ceriu
parent
c7e86a3c0f
commit
f6c2405427
@@ -932,7 +932,6 @@ class ClientProxy: ClientProxyProtocol {
|
||||
}
|
||||
|
||||
let roomProxy = try await JoinedRoomProxy(roomListService: roomListService,
|
||||
roomListItem: roomListItem,
|
||||
room: room)
|
||||
|
||||
return .joined(roomProxy)
|
||||
|
||||
@@ -12,7 +12,6 @@ import UIKit
|
||||
|
||||
class JoinedRoomProxy: JoinedRoomProxyProtocol {
|
||||
private let roomListService: RoomListServiceProtocol
|
||||
private let roomListItem: RoomListItemProtocol
|
||||
private let room: RoomProtocol
|
||||
|
||||
// periphery:ignore - required for instance retention in the rust codebase
|
||||
@@ -63,10 +62,8 @@ class JoinedRoomProxy: JoinedRoomProxyProtocol {
|
||||
}
|
||||
|
||||
init(roomListService: RoomListServiceProtocol,
|
||||
roomListItem: RoomListItemProtocol,
|
||||
room: RoomProtocol) async throws {
|
||||
self.roomListService = roomListService
|
||||
self.roomListItem = roomListItem
|
||||
self.room = room
|
||||
|
||||
infoSubject = try await .init(RoomInfoProxy(roomInfo: room.roomInfo()))
|
||||
|
||||
Reference in New Issue
Block a user