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

fix: Login to second device does not have MLS capabilities #WPB-14906 #3164

Merged

Conversation

borichellow
Copy link
Contributor

@borichellow borichellow commented Dec 11, 2024

BugWPB-14906 [Android] Login to second device does not have MLS capabilities

What's new in this PR?

Issues

When a user logs in to a second device after logging in to an MLS capable client, he does not have MLS capabilities on the second device: no previously created conversations and not MLS thumbprints in device details.

Causes (Optional)

field creator in ConversationResponseDTOV3 suppose to be nullable.
Looks like we just forgot to add "?" to the field.
So when backend sends conversations with creator = null parser on android side fails.

Solutions

Make creator filed nullable. Later ConversationResponseDTOV3 mapped into ConversationResponse which has val creator: String?, so it should not add any problems :)

@borichellow borichellow self-assigned this Dec 11, 2024
@borichellow borichellow changed the base branch from develop to release/candidate December 11, 2024 10:30
@echoes-hq echoes-hq bot added the echoes: product-roadmap Work aligned with the customer-announced roadmap, targeting a specific release date. label Dec 11, 2024
@borichellow borichellow changed the base branch from release/candidate to develop December 11, 2024 10:30
Copy link
Contributor

github-actions bot commented Dec 11, 2024

Test Results

3 340 tests  ±0   3 233 ✅ ±0   5m 56s ⏱️ ±0s
  572 suites ±0     107 💤 ±0 
  572 files   ±0       0 ❌ ±0 

Results for commit a8e44ab. ± Comparison against base commit 5baff8e.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Dec 11, 2024

@codecov-commenter
Copy link

codecov-commenter commented Dec 11, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 54.11%. Comparing base (5baff8e) to head (a8e44ab).

Files with missing lines Patch % Lines
...authenticated/conversation/ConversationResponse.kt 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #3164   +/-   ##
========================================
  Coverage    54.11%   54.11%           
========================================
  Files         1252     1252           
  Lines        36519    36519           
  Branches      3699     3699           
========================================
  Hits         19761    19761           
  Misses       15333    15333           
  Partials      1425     1425           
Files with missing lines Coverage Δ
...authenticated/conversation/ConversationResponse.kt 0.00% <0.00%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5baff8e...a8e44ab. Read the comment docs.

@datadog-wireapp
Copy link

datadog-wireapp bot commented Dec 11, 2024

Datadog Report

Branch report: fix/login_to_second_device_does_not_have_mls_capabilities
Commit report: 5068178
Test service: kalium-jvm

✅ 0 Failed, 3233 Passed, 107 Skipped, 1m 10.82s Total Time

@yamilmedina yamilmedina added this pull request to the merge queue Dec 13, 2024
Merged via the queue into develop with commit bafd544 Dec 13, 2024
23 checks passed
@yamilmedina yamilmedina deleted the fix/login_to_second_device_does_not_have_mls_capabilities branch December 13, 2024 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
echoes: product-roadmap Work aligned with the customer-announced roadmap, targeting a specific release date. 👕 size: XS type: bug / fix 🐞
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants