Fix edited messages.
This commit is contained in:
@@ -401,7 +401,7 @@ QVariant MessageEventModel::data(const QModelIndex& idx, int role) const {
|
||||
return EventStatus::Hidden;
|
||||
|
||||
if (auto e = eventCast<const RoomMessageEvent>(&evt)) {
|
||||
if (!e->replacedEvent().isEmpty()) {
|
||||
if (!e->replacedEvent().isEmpty() && e->replacedEvent() != e->id()) {
|
||||
return EventStatus::Hidden;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user