We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b5fa77 commit 86da4f7Copy full SHA for 86da4f7
features/share/impl/src/main/kotlin/io/element/android/features/share/impl/SharePresenter.kt
@@ -95,7 +95,11 @@ class SharePresenter @AssistedInject constructor(
95
).isSuccess
96
}
97
.all { it }
98
- .also { room.destroy() }
+ .also {
99
+ if (activeRoomHolder.getActiveRoomMatching(matrixClient.sessionId, roomId) == null) {
100
+ room.destroy()
101
+ }
102
103
104
105
0 commit comments