RoomSummary: don't map read receipts

This commit is contained in:
ganfra 2019-11-12 19:25:21 +01:00
parent 19b415871d
commit ec71b53c1e
1 changed files with 1 additions and 1 deletions

View File

@ -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?