fix: Room previews not showing replies
This commit is contained in:
parent
12c4695c06
commit
1652213ab0
|
|
@ -323,10 +323,11 @@ class Room {
|
|||
EventTypes.Encrypted,
|
||||
].contains(state.type);
|
||||
|
||||
// We ignore events relating to events older than the current-latest here so
|
||||
// We ignore events editing events older than the current-latest here so
|
||||
// i.e. newly sent edits for older events don't show up in room preview
|
||||
if (isMessageEvent &&
|
||||
state.relationshipEventId != null &&
|
||||
state.relationshipType == RelationshipTypes.edit &&
|
||||
state.relationshipEventId != lastEvent?.eventId) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue