fix: mark community as no longer spectated when joined

Fixes https://github.com/status-im/status-desktop/issues/11334
This commit is contained in:
Pascal Precht 2023-07-04 13:51:21 +02:00 committed by r4bbit
parent e5e5229e6a
commit 8184ae62ed
1 changed files with 1 additions and 0 deletions

View File

@ -928,6 +928,7 @@ func (o *Community) Edit(description *protobuf.CommunityDescription) {
func (o *Community) Join() { func (o *Community) Join() {
o.config.Joined = true o.config.Joined = true
o.config.Spectated = false
} }
func (o *Community) Leave() { func (o *Community) Leave() {