-
Notifications
You must be signed in to change notification settings - Fork 23
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
Remove Purpose, Add Conversation Type to database. Sync sync groups when syncing all groups too. #1261
Conversation
// Otherwise filter sync groups out by default. | ||
if !matches!(conversation_type, Some(ConversationType::Sync)) && !include_sync_groups { | ||
query = query.filter(groups_dsl::conversation_type.ne(ConversationType::Sync)); | ||
} |
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.
Aside from removing Purpose and adding ConversationType to the db, here's the main change of this PR.
No longer unconditionally filtering out Sync groups, however we still filter them out by default.
cfdf224
to
da7b64a
Compare
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.
nice improvement consolidating to conversation_type 👌
Purpose
from the db (and the codebase)ConversationType
column in the db