Replace the old RoomInfoUpdateListener with the SDKListener

This commit is contained in:
Stefan Ceriu
2025-04-29 19:20:17 +03:00
committed by Stefan Ceriu
parent 4e2e2649fc
commit cad21daeea
5 changed files with 14 additions and 28 deletions
+6
View File
@@ -74,6 +74,12 @@ extension SDKListener: RoomListLoadingStateListener where T == RoomListLoadingSt
func onUpdate(state: RoomListLoadingState) { onUpdateClosure(state) }
}
// MARK: Room
extension SDKListener: RoomInfoListener where T == RoomInfo {
func call(roomInfo: RoomInfo) { onUpdateClosure(roomInfo) }
}
// MARK: TimelineProxy
extension SDKListener: PaginationStatusListener where T == RoomPaginationStatus {