Skip to content

Commit f6198a1

Browse files
Merge pull request #1982 from session-foundation/fix-community-loading
Fix official community loading issue
2 parents b033d29 + d29e1a1 commit f6198a1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ configurations.configureEach {
2626
exclude(module = "commons-logging")
2727
}
2828

29-
val canonicalVersionCode = 441
29+
val canonicalVersionCode = 442
3030
val canonicalVersionName = "1.31.3"
3131

3232
val postFixSize = 10

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)