status-go/protocol/communities
Andrea Maria Piana 3f5f87d1d1 Don't panic if config is nil in community
I have encountered a crash in the app after syncing, looks like a
community has been created without a Config.
This crashes the app after the user logs in.
This commit prevents the app from crashing, but does not fix the
underlaying issue (that's something I will have to investigate).
Added tests to validate the behavior.

Check community exists
2023-07-14 08:23:38 +01:00
..
migrations Handle organisation membership requests 2020-12-23 17:20:55 +01:00
adaptors.go feat: sync `CommunitySettings` across paired devices 2022-06-16 12:45:05 +02:00
community.go Don't panic if config is nil in community 2023-07-14 08:23:38 +01:00
community_admin_event.go fix: admins are not allowed to kick or ban other admins 2023-06-27 09:14:26 +02:00
community_categories.go feat: community admin permission functionality (#3569) 2023-06-14 10:15:46 -04:00
community_categories_test.go feat: community admin permission functionality (#3569) 2023-06-14 10:15:46 -04:00
community_test.go Don't panic if config is nil in community 2023-07-14 08:23:38 +01:00
errors.go fix: admins are not allowed to kick or ban other admins 2023-06-27 09:14:26 +02:00
manager.go Don't panic if config is nil in community 2023-07-14 08:23:38 +01:00
manager_test.go Run tests separately, make sure messenger is shutdown, fix torrent test 2023-06-23 11:30:04 +01:00
persistence.go feat(Collectibles): Handle ERC20 burn and mint 2023-07-12 10:41:17 +02:00
persistence_test.go feat(Collectibles): Handle ERC20 burn and mint 2023-07-12 10:41:17 +02:00
persistence_test_helpers.go fix(migration): Fixes mute_till migration (#3653) 2023-06-22 18:49:58 +03:00
request_to_join.go feat: community admin permission functionality (#3569) 2023-06-14 10:15:46 -04: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
utils.go Add chainIds to revealed accounts in memberhsip requests 2023-06-12 10:49:29 +02:00
validator.go feat: community tags (#2708) 2022-06-24 09:40:12 -04:00