status-go/protocol/common
Pascal Precht b01a861e8e feat: add `DiscordMessageAttachment` types and APIs
This adds a new `DiscordMessageAttachment` type which is part of
`DiscordMessage`. Along with that type, there's also a new database
table for `discord_message_attachments` and corresponding persistence
APIs.

This commit also changes how chat messages are retrieved.
Here's why:

`DiscordMessage` can have multiple `DiscordMessageAttachment`.
A chat message can have a `DiscordMessage`.

Because we're `LEFT JOIN`'ing the discord message attachments into the
chat messages, there's a possibility of multiple rows per message.

Hence, this commit ensures we collect queried discord message
attachments on chat messages.
2022-09-29 11:38:29 +02:00
..
chat_entity.go Skip wrapping emojis in private group chats 2021-01-26 09:39:47 +01:00
crypto.go Tests and linting 2021-09-30 13:02:41 +01:00
errors.go Use ErrRecordNotFound instead of sql.ErrNoRows 2020-10-08 13:23:00 +02:00
feature_flags.go feat: desktop mailserver cycle (#2481) 2022-01-12 12:02:01 -04:00
message.go feat: add `DiscordMessageAttachment` types and APIs 2022-09-29 11:38:29 +02:00
message_sender.go Fix bug with tracking & merge community changes 2022-09-16 22:45:29 +01:00
message_sender_test.go feat: make kdf iterations configurable when creating a multiaccount (#2796) 2022-09-27 16:27:20 -04:00
message_test.go rename status-react to status-mobile 2022-07-17 15:37:14 +02:00
pin_message.go feat: add `DiscordMessageAttachment` types and APIs 2022-09-29 11:38:29 +02:00
raw_message.go Communities encryption integration 2022-06-17 21:24:39 +03:00
raw_messages_persistence.go Expand confirmations to private group chat messages 2021-03-16 13:41:14 +01:00
timesource.go Handle organisation membership requests 2020-12-23 17:20:55 +01:00