mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-09 16:48:54 +01:00
RoomSummary: don't map read receipts
This commit is contained in:
parent
19b415871d
commit
ec71b53c1e
@ -36,7 +36,7 @@ internal class RoomSummaryMapper @Inject constructor(
|
||||
}
|
||||
|
||||
val latestEvent = roomSummaryEntity.latestPreviewableEvent?.let {
|
||||
timelineEventMapper.map(it)
|
||||
timelineEventMapper.map(it, buildReadReceipts = false)
|
||||
}
|
||||
if (latestEvent?.root?.isEncrypted() == true && latestEvent.root.mxDecryptionResult == null) {
|
||||
// TODO use a global event decryptor? attache to session and that listen to new sessionId?
|
||||
|
Loading…
x
Reference in New Issue
Block a user