From 7c5114cf1dbd598c1e7968d53f11892898645538 Mon Sep 17 00:00:00 2001 From: Anthony Laibe Date: Wed, 18 May 2022 14:19:26 +0200 Subject: [PATCH] fix(@community): invite contact renamed to mutual contact fixes #5799 --- ui/imports/shared/views/ExistingContacts.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/imports/shared/views/ExistingContacts.qml b/ui/imports/shared/views/ExistingContacts.qml index 31cabd7f2d..f1df3067fb 100644 --- a/ui/imports/shared/views/ExistingContacts.qml +++ b/ui/imports/shared/views/ExistingContacts.qml @@ -46,12 +46,12 @@ Item { showCheckbox: root.showCheckbox isChecked: root.pubKeys.indexOf(model.pubKey) > -1 pubKey: model.pubKey - isContact: model.isContact + isContact: model.isMutualContact isUser: false name: model.name image: model.icon isVisible: { - return model.isContact && !model.isBlocked && (root.filterText === "" || + return model.isMutualContact && !model.isBlocked && (root.filterText === "" || root.matchesAlias(model.name.toLowerCase(), root.filterText.toLowerCase()) || model.name.toLowerCase().includes(root.filterText.toLowerCase()) || model.pubKey.toLowerCase().includes(root.filterText.toLowerCase())) &&