Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking - Queryable Content Types in Rust #1403

Open
2 of 12 tasks
cameronvoell opened this issue Dec 11, 2024 · 0 comments
Open
2 of 12 tasks

Tracking - Queryable Content Types in Rust #1403

cameronvoell opened this issue Dec 11, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@cameronvoell
Copy link
Contributor

cameronvoell commented Dec 11, 2024

See XIP 48 Queryable content Types in Rust: xmtp/XIPs#74

  • Move Content Types to new crate - Move content types to new crate #1401
  • Start saving content type to DB - Save group message content types #1435
  • Enable Readable only flag content type filtering on messages FFI functions FFI Bindings filter messages by content type #1440
  • Add new Reaction Content Type with Reaction proto - Reaction codec libxmtp integration proto#232
  • Add Legacy JSON deserialization for Reaction Content Type
  • Extract queryable content field "parent_msg_id" from message and save to new db field parent id.
  • Add query for returning "child_messages" when returning messages from a group
  • Add messagesWithMetadata funciton to bindings_ffi configuring which metadata you want to return (initial option is reactions)
  • Add Replies support for messagesWithMetadata function
  • Add Read Receipt support for messagesWithMetadata function
  • Move Remote Attachment Download and Decrypt logic to rust
  • Add new Multi remote attachment content type

Describe the solution to the problem

No response

Describe the uses cases for the feature

No response

Additional details

No response

@cameronvoell cameronvoell added the enhancement New feature or request label Dec 11, 2024
cameronvoell added a commit that referenced this issue Dec 20, 2024
Part of #1403

Adds fields to `group_messages` table corresponding to `ContentTypeId` proto and saves them when sending and receiving messages.

`ContentTypeId` for reference: 

https://github.com/xmtp/proto/blob/404a0f41a6dc00f5de5fcfc24856c8b4e417fe59/proto/mls/message_contents/content.proto#L10-L16

```proto
// ContentTypeId is used to identify the type of content stored in a Message.
message ContentTypeId {
  string authority_id = 1;  // authority governing this content type
  string type_id = 2;       // type identifier
  uint32 version_major = 3; // major version of the type
  uint32 version_minor = 4; // minor version of the type
}
```
cameronvoell added a commit that referenced this issue Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant