mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 06:12:55 +00:00
1ffcf23f9b
Prior to this commit, when a community owner leaves her community, status-go would just set the `joined` flag to `false` without updating the members list. This results in wrong data as the number of members doesn't match the reality. This commit removes the owner of the community from the members list when she's leaving the community.