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

FFI Bindings filter messages by content type #1440

Merged
merged 1 commit into from
Dec 21, 2024

Conversation

cameronvoell
Copy link
Contributor

@cameronvoell cameronvoell commented Dec 20, 2024

Part of #1403

Adds the ability to pass in a vec of content types to the bindings_ffi find_messages function:

#[derive(uniffi::Record, Clone, Default)]
pub struct FfiListMessagesOptions {
pub sent_before_ns: Option<i64>,
pub sent_after_ns: Option<i64>,
pub limit: Option<i64>,
pub delivery_status: Option<FfiDeliveryStatus>,
pub direction: Option<FfiDirection>,
pub content_types: Option<Vec<FfiContentType>>,
}

Copy link
Contributor Author

cameronvoell commented Dec 20, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

@cameronvoell cameronvoell changed the title bindings filter messages by type FFI Bindings filter messages by content type Dec 20, 2024
@cameronvoell cameronvoell marked this pull request as ready for review December 20, 2024 01:06
@cameronvoell cameronvoell requested a review from a team as a code owner December 20, 2024 01:06
@cameronvoell cameronvoell force-pushed the 12-19-bindings_filter_messages_by_type branch from 5f9ced6 to 2601bb9 Compare December 20, 2024 01:10
@cameronvoell cameronvoell changed the base branch from 12-18-save_group_message_content_types to graphite-base/1440 December 20, 2024 01:18
@cameronvoell cameronvoell force-pushed the 12-19-bindings_filter_messages_by_type branch from 2601bb9 to b256b2a Compare December 20, 2024 01:18
@cameronvoell cameronvoell changed the base branch from graphite-base/1440 to main December 20, 2024 01:18
@cameronvoell cameronvoell force-pushed the 12-19-bindings_filter_messages_by_type branch 2 times, most recently from cab7360 to b256b2a Compare December 20, 2024 06:10
@cameronvoell cameronvoell merged commit a9111a1 into main Dec 21, 2024
34 checks passed
@cameronvoell cameronvoell deleted the 12-19-bindings_filter_messages_by_type branch December 21, 2024 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants