mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-28 15:26:10 +00:00
Pascal Precht
86ea7014f6
fix(Communities): make rejoining communities work
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.
Nim-status-client
Desktop client for the Status Network built with Nim and Qt
note: this documentation is wip
Getting started
Overview
Architecture & Development
Guides & Tutorials
Continuous Integration
API
Translations
License
Licensed under the Mozilla Public License Version 2.0
Description
Languages
QML
39%
JavaScript
29.8%
Nim
18.6%
Python
5.7%
C++
5.2%
Other
1.6%