Reenable local echo.

Move fast and break things.
This commit is contained in:
Black Hat
2018-11-05 07:39:29 +08:00
parent b7dc378c65
commit 1ac443253a
4 changed files with 4 additions and 6 deletions

View File

@@ -306,10 +306,10 @@ QVariant MessageEventModel::data(const QModelIndex &idx, int role) const {
if (role == HighlightRole) return m_currentRoom->isEventHighlighted(&evt);
if (role == ReadMarkerRole) return evt.id() == lastReadEventId;
if (role == ReadMarkerRole) return evt.id() == lastReadEventId && row > timelineBaseIndex();
if (role == SpecialMarksRole) {
if (isPending) return EventStatus::Hidden;
if (isPending) return pendingIt->deliveryStatus();
if (is<RedactionEvent>(evt)) return EventStatus::Hidden;
if (evt.isRedacted()) return EventStatus::Redacted;