-
Notifications
You must be signed in to change notification settings - Fork 28
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
fix: Rejoining call can't be completed (WPB-5111) #2407
Conversation
Build 1715 failed. |
Build 1716 failed. |
Codecov Report
@@ Coverage Diff @@
## develop #2407 +/- ##
=============================================
+ Coverage 41.46% 41.55% +0.08%
+ Complexity 1083 1082 -1
=============================================
Files 344 344
Lines 12408 12445 +37
Branches 1630 1631 +1
=============================================
+ Hits 5145 5171 +26
- Misses 6779 6791 +12
+ Partials 484 483 -1
Continue to review full report in Codecov by Sentry.
|
APKs built during tests are available here. Scroll down to Artifacts! |
Build 1723 succeeded. The build produced the following APK's: |
APKs built during tests are available here. Scroll down to Artifacts! |
Build 1725 succeeded. The build produced the following APK's: |
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764
The PR Description
What's new in this PR?
Issues
After ending a group a call and immediately try to rejoin, a dialog appears saying you are already in a call
Causes (Optional)
After implementing Archive feature, a race condition happened where we are updating the conversationListState from two different places:
observeEstablishedCall
and search ininit
block ofConversationListViewModel
.This race condition can lead to wrong state of calling resulting a dialog to appear
Solutions
Create a separate state for calling
ConversationListCallState
that will be updated on init from one place.Needs releases with:
Testing
Test Coverage (Optional)
How to Test
Briefly describe how this change was tested and if applicable the exact steps taken to verify that it works as expected.
Notes (Optional)
PR Post Submission Checklist for internal contributors (Optional)
PR Post Merge Checklist for internal contributors
References
feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764
.