mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 14:26:34 +00:00
86ea7014f6
When the communities code was moved into its own view in https://github.com/status-im/status-desktop/commit/b38d1df59 it broke the functionality to join communities again. Qt complains that the Nim API in use `chatsModel.communities.joinCommunity` expects two parameters, when it's call with just one. This is unexpected because the API in question set a default value for its second parameter. To make this work again, we have to make sure the `setActive` parameter is supplied every time we call the API from within QML. Also, worth noting that this is not the first time we're running into a scenario like this.