status-go/appdatabase
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 feat: introduce CommunityAdminSettings in CommunityDescription 2022-05-18 09:58:11 +02:00
migrationsprevnodecfg feat: introduce CommunityAdminSettings in CommunityDescription 2022-05-18 09:58:11 +02:00
database.go Sync Settings (#2478) 2022-03-23 18:47:00 +00:00
database_test.go Sync Settings (#2478) 2022-03-23 18:47:00 +00:00
node_config_test.go refactor: reuse nodeconfig instead of loading it from DB 2022-04-22 11:25:33 +04:00
test_helpers.go Sync Settings (#2478) 2022-03-23 18:47:00 +00:00