status-go/protocol/communities
Pascal Precht c01ad05525 feat(common): add `ThirdPartyID` to `Message` and `protobuf.WakuMessage`
Usually, message IDs are generated by their payload and signature and
in receiving nodes calculated in based on the same data as well.

There's no ID attached to messages in-flight.

This turns out to be a bit of a problem for messages that are being
imported from third party systems like discord, as the conversion
and saving of such messages and handling of their possible assets and
attachments are done in separate steps, which changes the message
payloads after their IDs have been generated.

Hence, we're introducing a `ThirdPartyID` property to `common.Message`
and `protobuf.WakuMessage` so receiving nodes of such messages (via the
archive protocol primarily) can easily detect third party/imported
messages and give them special treatment.
2022-09-29 11:15:47 +02: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 chore(community): community itself has admin rights 2022-09-28 13:03:56 +02:00
community_categories.go feat: Add mute category methods (#2736) 2022-07-06 19:16:19 +03:00
community_categories_test.go Validate no duplicated community chat names 2021-06-03 13:27:49 +02:00
community_test.go fix: remove ourselves from members when leaving community 2022-09-21 08:35:52 +02:00
errors.go feat: introduce and distribute RequestToLeave community 2022-08-26 11:25:33 +02:00
manager.go feat(common): add `ThirdPartyID` to `Message` and `protobuf.WakuMessage` 2022-09-29 11:15:47 +02:00
manager_test.go feat: make kdf iterations configurable when creating a multiaccount (#2796) 2022-09-27 16:27:20 -04:00
persistence.go feat(common): add `ThirdPartyID` to `Message` and `protobuf.WakuMessage` 2022-09-29 11:15:47 +02:00
persistence_test.go feat: make kdf iterations configurable when creating a multiaccount (#2796) 2022-09-27 16:27:20 -04:00
persistence_test_helpers.go Address linter issues 2022-03-28 13:14:12 +01:00
request_to_join.go feat: introduce and distribute RequestToLeave community 2022-08-26 11:25:33 +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
utils.go feat: introduce and distribute RequestToLeave community 2022-08-26 11:25:33 +02:00
validator.go feat: community tags (#2708) 2022-06-24 09:40:12 -04:00