mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-11 13:59:13 +00:00
Remove spammy logs
This commit is contained in:
parent
a5fe629790
commit
d0d24e2d09
@ -187,8 +187,6 @@ class RoomSummaryProvider: RoomSummaryProviderProtocol {
|
||||
.sink { [weak self] roomIDs in
|
||||
guard let self else { return }
|
||||
|
||||
MXLog.debug("\(self.name): Updating subscriptions for visible rooms: \(roomIDs)")
|
||||
|
||||
do {
|
||||
try roomListService.subscribeToRooms(roomIds: roomIDs,
|
||||
settings: .init(requiredState: SlidingSyncConstants.defaultRequiredState,
|
||||
@ -208,13 +206,9 @@ class RoomSummaryProvider: RoomSummaryProviderProtocol {
|
||||
span.exit()
|
||||
}
|
||||
|
||||
MXLog.info("\(name): Received \(diffs.count) diffs")
|
||||
|
||||
rooms = diffs.reduce(rooms) { currentItems, diff in
|
||||
processDiff(diff, on: currentItems)
|
||||
}
|
||||
|
||||
MXLog.info("Finished processing room list diffs")
|
||||
}
|
||||
|
||||
private func processDiff(_ diff: RoomListEntriesUpdate, on currentItems: [RoomSummary]) -> [RoomSummary] {
|
||||
|
Loading…
x
Reference in New Issue
Block a user