parent
b7dc378c65
commit
1ac443253a
|
@ -8,8 +8,6 @@ import Spectral.Setting 0.1
|
|||
|
||||
import Spectral.Component 2.0
|
||||
|
||||
import "qrc:/js/util.js" as Util
|
||||
|
||||
RowLayout {
|
||||
readonly property bool avatarVisible: !sentByMe && (aboveAuthor !== author || aboveSection !== section || aboveEventType === "state" || aboveEventType === "emote" || aboveEventType === "other")
|
||||
readonly property bool highlighted: !(sentByMe || eventType === "notice" )
|
||||
|
|
|
@ -139,7 +139,7 @@ Item {
|
|||
Layout.fillWidth: true
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
|
||||
visible: readMarker === true && index !== 0
|
||||
visible: readMarker === true
|
||||
|
||||
Rectangle {
|
||||
Layout.fillWidth: true
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit a81383549df4db8a487a847dca41900f3ab38c27
|
||||
Subproject commit be7d25ed22abd07a254bfb8ff6c30de4fcc79e6a
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue