Multiple stickers in a row don't require showInformation each time

Change-Id: I0364d46ba00f29291a4527e7ad3a98d1275ea829
This commit is contained in:
SpiritCroc 2020-09-25 13:24:21 +02:00
parent 037a333c37
commit 17801fdf54
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class MessageInformationDataFactory @Inject constructor(private val session: Ses
addDaySeparator
|| event.senderInfo.avatarUrl != nextEvent?.senderInfo?.avatarUrl
|| event.senderInfo.disambiguatedDisplayName != nextEvent?.senderInfo?.disambiguatedDisplayName
|| (nextEvent.root.getClearType() != EventType.MESSAGE && nextEvent.root.getClearType() != EventType.ENCRYPTED)
|| (nextEvent.root.getClearType() != EventType.MESSAGE && nextEvent.root.getClearType() != EventType.ENCRYPTED && nextEvent.root.getClearType() != EventType.STICKER)
|| isNextMessageReceivedMoreThanOneHourAgo
|| isTileTypeMessage(nextEvent)