fix(desktop/chat): Do not display "Send message" to logged-in user

Fixes #4907
This commit is contained in:
Michal Iskierko 2022-03-09 12:52:00 +01:00 committed by Iuri Matias
parent b9cc6c7d8e
commit 4fa5aa5de4
1 changed files with 2 additions and 1 deletions

View File

@ -222,7 +222,8 @@ StatusPopupMenu {
root.close()
}
icon.name: "chat"
enabled: root.isProfile && !root.isMyMessage ||
enabled: (root.myPublicKey !== root.selectedUserPublicKey) &&
root.isProfile && !root.isMyMessage ||
(!root.hideEmojiPicker &&
!root.emojiOnly &&
!root.isProfile &&