diff --git a/ui/app/AppLayouts/Chat/CommunityComponents/CommunityMembersPopup.qml b/ui/app/AppLayouts/Chat/CommunityComponents/CommunityMembersPopup.qml index 1f5b950f5e..ba54187919 100644 --- a/ui/app/AppLayouts/Chat/CommunityComponents/CommunityMembersPopup.qml +++ b/ui/app/AppLayouts/Chat/CommunityComponents/CommunityMembersPopup.qml @@ -164,7 +164,7 @@ ModalPopup { icon.color: Style.current.red //% "Kick" text: qsTrId("kick") - onTriggered: chatsModel.removeUserFromCommunity(model.pubKey) + onTriggered: chatsModel.communities.removeUserFromCommunity(model.pubKey) } Action { icon.source: "../../../img/communities/menu/ban.svg" diff --git a/ui/app/AppLayouts/Chat/CommunityComponents/CommunityProfilePopupMembersList.qml b/ui/app/AppLayouts/Chat/CommunityComponents/CommunityProfilePopupMembersList.qml index b8c41e9be3..aa6f20bcae 100644 --- a/ui/app/AppLayouts/Chat/CommunityComponents/CommunityProfilePopupMembersList.qml +++ b/ui/app/AppLayouts/Chat/CommunityComponents/CommunityProfilePopupMembersList.qml @@ -155,7 +155,7 @@ Item { icon.color: Style.current.red //% "Kick" text: qsTrId("kick") - onTriggered: chatsModel.removeUserFromCommunity(model.pubKey) + onTriggered: chatsModel.communities.removeUserFromCommunity(model.pubKey) } /* Action { */ /* icon.source: "../../../img/communities/menu/ban.svg" */