fix incorrect message grouping heuristics
This commit is contained in:
parent
1b81e31c13
commit
a72ef5ea2d
1 changed files with 3 additions and 2 deletions
|
|
@ -389,8 +389,9 @@ class RoomChat extends HookConsumerWidget {
|
||||||
isGrouped:
|
isGrouped:
|
||||||
previousEvent?.content
|
previousEvent?.content
|
||||||
is MessageContent &&
|
is MessageContent &&
|
||||||
event.redactedBy == null &&
|
previousEvent?.redactedBy == null &&
|
||||||
event.relationType != "m.replace" &&
|
previousEvent?.relationType !=
|
||||||
|
"m.replace" &&
|
||||||
"${event.sender}${event.pmp?.id}" ==
|
"${event.sender}${event.pmp?.id}" ==
|
||||||
"${previousEvent?.sender}${previousEvent?.pmp?.id}",
|
"${previousEvent?.sender}${previousEvent?.pmp?.id}",
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue