Terminal fix(MessageView): Fix calculating `isExpired` value

This commit is contained in:
Igor Sirotin 2023-01-11 18:12:07 +03:00 committed by Igor Sirotin
parent d98c462092
commit 93c90b8436
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ Loader {
property bool isMessage: isEmoji || isImage || isSticker || isText || isAudio
|| messageContentType === Constants.messageContentType.communityInviteType || messageContentType === Constants.messageContentType.transactionType
readonly property bool isExpired: d.getIsExpired(messageOutgoingStatus, messageTimestamp)
readonly property bool isExpired: d.getIsExpired(messageTimestamp, messageOutgoingStatus)
readonly property bool isSending: messageOutgoingStatus === Constants.sending && !isExpired
signal imageClicked(var image)