Fix edited messages.

This commit is contained in:
Black Hat
2019-12-28 17:00:39 +08:00
parent 61bbc4e7dc
commit a21d0c3eb0
3 changed files with 3 additions and 3 deletions

View File

@@ -105,7 +105,7 @@ QString SpectralRoom::lastEvent() const {
continue;
if (auto e = eventCast<const RoomMessageEvent>(evt)) {
if (!e->replacedEvent().isEmpty()) {
if (!e->replacedEvent().isEmpty() && e->replacedEvent() != e->id()) {
continue;
}
}