status-go/protocol/communities
Pascal Precht 714c03c635 feat: introduce `CommunityAdminSettings` in `CommunityDescription`
This allows to store community admin settings that are meant to be propagated
to community members (as opposed to the already existing
`CommunitySettings` which are considered local to every account).

The first setting introduced as part of this commit is one that enables
community admins to configure whether or not members of the community
are allowed to pin messages in community channels.

Prior to this commit, this was not restricted at all on the protocol
level and only enforced by clients via UI (e.g. members don't see an
option to pin messages, although they could).

This config setting now ensures that:

1. If turned off, members cannot send a pin message
2. If turned off, pin messages from members are not handled/processed

This is needed by https://github.com/status-im/status-desktop/issues/5662
2022-05-18 09:58:11 +02:00
..
migrations Handle organisation membership requests 2020-12-23 17:20:55 +01:00
adaptors.go Sync Communities (#2253) 2021-08-06 16:40:23 +01:00
community.go feat: introduce `CommunityAdminSettings` in `CommunityDescription` 2022-05-18 09:58:11 +02:00
community_categories.go fix: error reordering chats when destination category position is the same as original chatId position (#2448) 2021-11-30 10:26:17 -04:00
community_categories_test.go Validate no duplicated community chat names 2021-06-03 13:27:49 +02:00
community_test.go Make community owners store waku message payloads 2022-03-28 11:24:23 +02:00
errors.go fix: allow empty category id when sorting chats and fix error messages (#2301) 2021-08-25 12:52:28 -04:00
manager.go Handle history archive magnetlink messages 2022-05-10 11:27:31 +02:00
manager_test.go Handle history archive magnetlink messages 2022-05-10 11:27:31 +02:00
persistence.go Handle history archive magnetlink messages 2022-05-10 11:27:31 +02:00
persistence_test.go Introduce `CommunitySettings` to store community related settings 2022-03-22 12:33:40 +01:00
persistence_test_helpers.go Address linter issues 2022-03-28 13:14:12 +01:00
request_to_join.go Sync Communities (#2253) 2021-08-06 16:40:23 +01:00
request_to_join_test.go Sync Communities (#2253) 2021-08-06 16:40:23 +01:00
validator.go Validate no duplicated community chat names 2021-06-03 13:27:49 +02:00