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: duplicated member entry #4691

Merged

Conversation

iuricmp
Copy link
Contributor

@iuricmp iuricmp commented Jun 6, 2023

Fix for duplicate member in group members list.

Disclaimer: This is a quick-fix solution. The proper solution came from understanding why TypeMemberUpdated event is being dispatched twice for the current user in the StreamEvent.

It is a Berty's Javascript issue since it's not reproducible on Berty's Mini.

Signed-off-by: Iuri Pereira iuricmp@gmail.com

fix #4687

@iuricmp iuricmp force-pushed the 4687-anon-user-gets-added-to-every-group-made branch 3 times, most recently from 88016f6 to b4d101c Compare June 7, 2023 08:04
@codecov
Copy link

codecov bot commented Jun 7, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.02 ⚠️

Comparison is base (bf5888e) 31.47% compared to head (341bb2d) 31.46%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4691      +/-   ##
==========================================
- Coverage   31.47%   31.46%   -0.02%     
==========================================
  Files         442      442              
  Lines       22945    22940       -5     
  Branches     1871     1870       -1     
==========================================
- Hits         7223     7218       -5     
  Misses      15176    15176              
  Partials      546      546              
Flag Coverage Δ
js.unittests 43.73% <100.00%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
js/packages/redux/reducers/messenger.reducer.ts 63.95% <100.00%> (-0.69%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@iuricmp iuricmp requested a review from D4ryl00 June 7, 2023 12:27
@iuricmp iuricmp force-pushed the 4687-anon-user-gets-added-to-every-group-made branch from b4d101c to faf4830 Compare June 14, 2023 07:05
Fix for duplicate member in group members list.

Signed-off-by: Iuri Pereira <iuricmp@gmail.com>
@iuricmp iuricmp force-pushed the 4687-anon-user-gets-added-to-every-group-made branch from faf4830 to 341bb2d Compare June 14, 2023 08:45
Copy link
Contributor

@D4ryl00 D4ryl00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@iuricmp iuricmp merged commit aba1ff3 into berty:master Jun 14, 2023
18 checks passed
@github-actions
Copy link

🎉 This PR is included in version 2.468.9 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

anon user gets added to every group made
2 participants