Skip to content

Commit

Permalink
change to all room summary publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
Flavio Alescio committed May 22, 2023
1 parent 5a6352e commit 9a403c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ElementX/Sources/Services/Client/ClientProxy.swift
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ class ClientProxy: ClientProxyProtocol {
private func waitForRoomSummary(with result: Result<String, ClientProxyError>, name: String?) async -> Result<String, ClientProxyError> {
guard case .success(let roomId) = result else { return result }
let runner = ExpiringTaskRunner { [weak self] in
guard let roomLists = self?.visibleRoomsSummaryProvider?.roomListPublisher.values else {
guard let roomLists = self?.allRoomsSummaryProvider?.roomListPublisher.values else {
return
}
// for every list of summaries, we check if we have a room summary with matching ID and name (if present)
Expand Down

0 comments on commit 9a403c4

Please sign in to comment.