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: No SystemMessage on new 1o1 conversation [WPB-8608] #2730

Conversation

borichellow
Copy link
Contributor

What's new in this PR?

Issues

When user starts a new 1:1 conversation Android app shows a SystemMessage "You added User and you to the conversation", while there shouldn't be any message at all.

Causes (Optional)

MemberJoinEventHandler had the same implementation for 1:1 and group conversations.

Solutions

In MemberJoinEventHandler add checking if the conversation is 1:1 then no need to add a new SystemMessage about new members.
Also updated tests.

Copy link
Contributor

github-actions bot commented Apr 30, 2024

Test Results

2 991 tests   2 884 ✔️  2m 54s ⏱️
   517 suites     107 💤
   517 files           0

Results for commit d1eba2c.

♻️ This comment has been updated with latest results.

@datadog-wireapp
Copy link

datadog-wireapp bot commented Apr 30, 2024

Datadog Report

All test runs cbee562 🔗

2 Total Test Services: 0 Failed, 2 Passed

Test Services
Service Name Failed Known Flaky New Flaky Passed Skipped Total Time Test Service View
kalium-ios 0 0 0 2743 123 1.61s Link
kalium-jvm 0 0 0 2884 107 4.79s Link

@yamilmedina yamilmedina merged commit 39f2aa3 into release/android-cycle-4.6 May 14, 2024
17 checks passed
@yamilmedina yamilmedina deleted the fix/no-system-message-on-new-1o1-conversation branch May 14, 2024 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants