mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-01 19:56:47 +01:00
Fix updating read marker automatically
Co-authored-by: Benoit Marty <benoitm@matrix.org>
This commit is contained in:
parent
8edbd323de
commit
e3204c32a1
@ -17,6 +17,7 @@ Bugfix 🐛:
|
||||
- Fix issue when opening encrypted files (#3186)
|
||||
- Fix wording issue (#3242)
|
||||
- Fix missing sender information after edits (#3184)
|
||||
- Fix read marker not updating automatically (#3267)
|
||||
|
||||
Translations 🗣:
|
||||
-
|
||||
|
@ -550,7 +550,7 @@ class RoomDetailViewModel @AssistedInject constructor(
|
||||
private fun stopTrackingUnreadMessages() {
|
||||
if (trackUnreadMessages.getAndSet(false)) {
|
||||
mostRecentDisplayedEvent?.root?.eventId?.also {
|
||||
viewModelScope.launch {
|
||||
session.coroutineScope.launch {
|
||||
tryOrNull { room.setReadMarker(it) }
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user