#1108 - Prevent invites from stealing away the roomList's state listener

This commit is contained in:
Stefan Ceriu
2023-06-19 10:16:12 +03:00
committed by Stefan Ceriu
parent 1b90060c9e
commit ef4346fa08
4 changed files with 21 additions and 17 deletions
@@ -401,8 +401,7 @@ class ClientProxy: ClientProxyProtocol {
Task {
// Subscribe to invites later as the underlying SlidingSync list is only added when entering AllRooms
await self.inviteSummaryProvider?.subscribeIfNecessary(entriesFunction: roomListService.invites(listener:),
// This state function is wrong but it's not used
entriesLoadingStateFunction: roomListService.entriesLoadingState(listener:))
entriesLoadingStateFunction: nil)
}
}
})