mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 05:52:41 +00:00
fix(Communities): make leaving communities work again
Turns out in https://github.com/status-im/status-desktop/commit/81bb7fcc6 we've introduced a regression where leaving a communities isn't possible anymore because we're trying to call an API that doesn't exist on the `chatsModel`. This commit fixes it by ensuring the API is called from `chatsModel.communities`.
This commit is contained in:
parent
131685ecf5
commit
43e4ba771b
@ -81,7 +81,7 @@ Item {
|
|||||||
icon.color: Style.current.red
|
icon.color: Style.current.red
|
||||||
icon.width: 20
|
icon.width: 20
|
||||||
icon.height: 20
|
icon.height: 20
|
||||||
onTriggered: chatsModel.leaveCurrentCommunity()
|
onTriggered: chatsModel.communities.leaveCurrentCommunity()
|
||||||
}
|
}
|
||||||
|
|
||||||
onAboutToHide: {
|
onAboutToHide: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user