-
Notifications
You must be signed in to change notification settings - Fork 19
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
Make general conversation to encompass group dms and groups. #1138
Conversation
Your org has enabled the Graphite merge queue for merging into mainAdd the label “queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
@@ -224,7 +225,7 @@ pub struct FindGroupParams { | |||
pub created_after_ns: Option<i64>, | |||
pub created_before_ns: Option<i64>, | |||
pub limit: Option<i64>, | |||
pub include_dm_groups: bool, | |||
pub conversation_type: Option<ConversationType>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed all these include_dm
booleans to conversation_type
so that we could have all 3 options
just dms, just groups, and both.
/// Consent is for a group | ||
GroupId = 1, | ||
/// Consent is for a conversation | ||
ConversationId = 1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since it is just a number under the hood this rename should have no effect on existing records.
nice! Much prefer enums to booleans |
Closes #1130
Brings the language in the bindings more inline with conversation than group to make it easier to understand with groupDMs.
Adds a bunch of specific dm and group functionality to allow backwards compatibility for V2 migrations.