fix(@desktop/communities): Show only not community members

Fix #7477
This commit is contained in:
Michal Iskierko 2022-09-26 13:57:21 +02:00 committed by Michał Iskierko
parent d14fc486b5
commit f40ef4613e
2 changed files with 3 additions and 2 deletions

View File

@ -76,7 +76,7 @@ Item {
model.localNickname.toLowerCase().includes(root.filterText.toLowerCase()) ||
model.pubKey.toLowerCase().includes(root.filterText.toLowerCase())) &&
(!root.hideCommunityMembers ||
!root.rootStore.communityHasMember(model.pubKey, root.communityId));
!root.rootStore.communityHasMember(root.communityId, model.pubKey));
}
onClicked: {

View File

@ -54,7 +54,8 @@ Item {
status: model.onlineStatus
userName: model.displayName
asset.name: model.icon
asset.isImage: true
asset.isImage: (asset.name !== "")
asset.isLetterIdenticon: (asset.name === "")
asset.width: 40
asset.height: 40
color: "transparent"