mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
#1108 - Prevent invites from stealing away the roomList's state listener
This commit is contained in:
committed by
Stefan Ceriu
parent
1b90060c9e
commit
ef4346fa08
@@ -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)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user