Remove the RoomListItem from the JoinedRoomProxy

This commit is contained in:
Stefan Ceriu
2025-05-26 10:03:44 +03:00
committed by Stefan Ceriu
parent 54a4656469
commit 154c44b701
2 changed files with 0 additions and 4 deletions
@@ -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()))