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 3fc6e32 commit d7ee751Copy full SHA for d7ee751
features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/MessagesPresenter.kt
@@ -164,6 +164,11 @@ class MessagesPresenter @AssistedInject constructor(
164
// as those will be handled by the timeline.
165
withContext(dispatchers.io) {
166
room.setUnreadFlag(isUnread = false)
167
+
168
+ // If for some reason the encryption state is unknown, fetch it
169
+ if (roomInfo.isEncrypted == null) {
170
+ room.getUpdatedIsEncrypted()
171
+ }
172
}
173
174
0 commit comments