Skip to content

Commit 79ef76d

Browse files
committed
Fix official community loading issue
1 parent b033d29 commit 79ef76d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/org/session/libsession/messaging/open_groups/OfficialCommunityRepository.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class OfficialCommunityRepository @Inject constructor(
105105
})
106106
}
107107
}
108-
.shareIn(scope, SharingStarted.Lazily)
108+
.shareIn(scope, SharingStarted.Lazily, replay = 1)
109109

110110
suspend fun fetchOfficialCommunities(): List<OpenGroupApi.DefaultGroup> {
111111
if (officialCommunitiesCache.replayCache.firstOrNull()?.isFailure == true) {

0 commit comments

Comments
 (0)