fix(@community): invite contact renamed to mutual contact

fixes #5799
This commit is contained in:
Anthony Laibe 2022-05-18 14:19:26 +02:00 committed by Anthony Laibe
parent ddb884fc37
commit 7c5114cf1d

View File

@ -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())) &&