diff --git a/src/app/commoncomponents/SBSMessageBase.qml b/src/app/commoncomponents/SBSMessageBase.qml index 6e49daea2bc514d5b91d9024e4ba3b7f1e1dea3f..77416d47f7568fe5588e9f75ace759ad62f86944 100644 --- a/src/app/commoncomponents/SBSMessageBase.qml +++ b/src/app/commoncomponents/SBSMessageBase.qml @@ -646,6 +646,7 @@ Control { id: status Layout.alignment: Qt.AlignBottom width: JamiTheme.avatarReadReceiptSize + property bool isAlone: CurrentConversation.members.count === 1 Rectangle { id: sending @@ -656,7 +657,7 @@ Control { border.color: JamiTheme.sending border.width: 1 color: JamiTheme.transparentColor - visible: isOutgoing && Status === Interaction.Status.SENDING + visible: isOutgoing && Status === Interaction.Status.SENDING && !status.isAlone anchors.bottom: parent.bottom } @@ -687,6 +688,22 @@ Control { anchors.bottom: parent.bottom readers: root.readers } + + Component { + id: selfReadIconComp + Avatar { + width: JamiTheme.avatarReadReceiptSize + height: JamiTheme.avatarReadReceiptSize + mode: Avatar.Mode.Account + imageId: CurrentAccount.id + showPresenceIndicator: false + } + } + Loader { + active: status.isAlone && CurrentConversation.lastSelfMessageId === Id + sourceComponent: selfReadIconComp + anchors.bottom: parent.bottom + } } }