fix(ContactsListPanel): hide "Send message" for blocked contacts

Fixes #6299
This commit is contained in:
Lukáš Tinkl 2022-07-27 20:31:41 +02:00 committed by Lukáš Tinkl
parent db4ec6430e
commit d511e5eda3

View File

@ -121,7 +121,7 @@ Item {
searchStr: contactListRoot.searchString
showSendMessageButton: model.isContact
showSendMessageButton: isContact && !isBlocked
showRejectContactRequestButton: {
if (contactListRoot.panelUsage === Constants.contactsPanelUsage.receivedContactRequest && !model.verificationRequestStatus) {
return true