-
Notifications
You must be signed in to change notification settings - Fork 160
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
Enable Chat backup, Mentions and Read Receipt in release. #2087
Conversation
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
I need to fix the test |
Also change default for debug to enabled, but keep `isFinished = false` for now, so that they are still disableable.
7868f8e
to
6ff48c2
Compare
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
Note: I ignore failing test in release |
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.
Thank you for all the work figuring out a fix for the broken tests
private suspend fun <T> ReceiveTurbine<T>.awaitFirstItem(): T { | ||
// Skip 2 item if Mentions feature is enabled, else 1 | ||
skipItems(if (FeatureFlags.Mentions.defaultValue) 2 else 1) | ||
return awaitItem() | ||
} |
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.
Clever, thanks!
Also change default for debug to enabled, but keep
isFinished = false
for now, so that they are still disableable.Type of change
Content
Motivation and context
Screenshots / GIFs
Tests
Tested devices
Checklist