status-go/protocol/communities
Jonathan Rainville 0cac2af1db
fix(community): getting kicked out of a community should still spectate (#4217)
Fixes https://github.com/status-im/status-desktop/issues/12558

When getting kicked out of  a community, before we used to leave the community completely, but just keep the filters on.
That created a problem when reopening the app, because the community disappeared and could even create a problem in desktop where it tried to open the last opened community but it's no longer there.

The fix now is that when getting kicked out, we instead just remove ourselves from the community and set Joined to false, but we keep the community spectated.
2023-10-27 15:20:08 -04:00
..
migrations Handle organisation membership requests 2020-12-23 17:20:55 +01:00
token feat: share requests to join and revealed addresses with privileged roles (#3951) 2023-09-20 10:37:46 +02:00
adaptors.go feat: ensure unique control node across devices 2023-10-22 21:50:41 +02:00
community.go chore: enable community rekey loop 2023-10-27 16:29:26 +02:00
community_categories.go refactor: simplify events creation logic 2023-08-17 08:24:51 +02:00
community_categories_test.go refactor: update community access enum naming 2023-10-25 17:34:37 +02:00
community_changes.go fix(community): getting kicked out of a community should still spectate (#4217) 2023-10-27 15:20:08 -04:00
community_encryption_key_action.go feat: rekey community on control node change 2023-10-18 22:32:29 +02:00
community_encryption_key_action_test.go refactor: update community access enum naming 2023-10-25 17:34:37 +02:00
community_event.go feat: Introduce KickedPending and BannedPending states (#3948) 2023-10-04 23:47:22 +03:00
community_event_message.go Always use protobufs by reference & generate handlers 2023-08-22 12:08:54 +01:00
community_test.go refactor: remove community invitation only access 2023-10-25 17:34:37 +02:00
community_token_permission.go feat: add pending state for token permissions 2023-08-23 10:34:59 +02:00
communnity_privileged_member_sync_msg.go feat: share requests to join and revealed addresses with privileged roles (#3951) 2023-09-20 10:37:46 +02:00
errors.go refactor: rename and simplify `UpdatePrivateKeyAndControlNode` 2023-10-18 22:32:29 +02:00
manager.go fix(community): getting kicked out of a community should still spectate (#4217) 2023-10-27 15:20:08 -04:00
manager_test.go refactor: update community access enum naming 2023-10-25 17:34:37 +02:00
permission_checker.go Fix encryption id && rekey with a single message 2023-10-24 20:48:54 +01:00
persistence.go feat: ensure unique control node across devices 2023-10-22 21:50:41 +02:00
persistence_test.go feat: ensure unique control node across devices 2023-10-22 21:50:41 +02:00
persistence_test_helpers.go waku2: static shards (#3944) 2023-10-12 15:21:49 -04:00
request_to_join.go refactor: simplify community requests logic 2023-10-18 17:11:20 +02:00
request_to_join_test.go Sync Communities (#2253) 2021-08-06 16:40:23 +01:00
request_to_leave.go feat: introduce and distribute RequestToLeave community 2022-08-26 11:25:33 +02:00
roles_authorization.go feat: Introduce KickedPending and BannedPending states (#3948) 2023-10-04 23:47:22 +03:00
utils.go feat: add pending state for token permissions 2023-08-23 10:34:59 +02:00
validator.go feat: community tags (#2708) 2022-06-24 09:40:12 -04:00