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 c7e86a3c0f
commit f6c2405427
2 changed files with 0 additions and 4 deletions

View File

@@ -932,7 +932,6 @@ class ClientProxy: ClientProxyProtocol {
}
let roomProxy = try await JoinedRoomProxy(roomListService: roomListService,
roomListItem: roomListItem,
room: room)
return .joined(roomProxy)

View File

@@ -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()))