From 0893f3926b86590bd5570100660d9fd16385d945 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Fri, 25 Aug 2023 11:08:36 +0300 Subject: [PATCH] Fixes invites not showing up --- .../Services/Room/RoomSummary/RoomSummaryProvider.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ElementX/Sources/Services/Room/RoomSummary/RoomSummaryProvider.swift b/ElementX/Sources/Services/Room/RoomSummary/RoomSummaryProvider.swift index 193a81ad3..99c8aa941 100644 --- a/ElementX/Sources/Services/Room/RoomSummary/RoomSummaryProvider.swift +++ b/ElementX/Sources/Services/Room/RoomSummary/RoomSummaryProvider.swift @@ -88,6 +88,9 @@ class RoomSummaryProvider: RoomSummaryProviderProtocol { diffsPublisher.send(updates) }) + // Forces the listener above to be called with the current state + updateFilterPattern(nil) + listUpdatesTaskHandle = listUpdatesSubscriptionResult?.entriesStream let stateUpdatesSubscriptionResult = try roomList.loadingState(listener: RoomListStateObserver { [weak self] state in