status-go/multiaccounts
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
..
accounts Added mixed case address to the `Account` struct 2022-05-13 16:17:24 +02:00
errors Sync Settings (#2478) 2022-03-23 18:47:00 +00:00
migrations feat: introduce `CommunityAdminSettings` in `CommunityDescription` 2022-05-18 09:58:11 +02:00
settings Enable currency settings and sticker pack synchronization 2022-05-11 16:59:12 +03:00
database.go Sync profile picture 2022-04-21 19:50:31 +03:00
database_test.go Sync profile picture 2022-04-21 19:50:31 +03:00