-
-
Notifications
You must be signed in to change notification settings - Fork 676
Conversation
@@ -300,7 +300,7 @@ func updateProfile( | |||
}, e | |||
} | |||
|
|||
if err := api.SendEvents(ctx, rsAPI, api.KindNew, events, device.UserDomain(), domain, domain, nil, true); err != nil { | |||
if err := api.SendEvents(ctx, rsAPI, api.KindNew, events, device.UserDomain(), domain, domain, nil, false); err != nil { |
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.
This slows down changing profiles, but makes sure that all events have been sent to the roomserver.
This is needed, as e.g. bridges may change the avatar and displayname in short succession.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #3231 +/- ##
==========================================
- Coverage 65.99% 65.18% -0.82%
==========================================
Files 507 507
Lines 57155 57174 +19
==========================================
- Hits 37718 37267 -451
- Misses 15656 16009 +353
- Partials 3781 3898 +117
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
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.
Changes look great & test is clear!
… into s7evink/state-resets
Needs matrix-org/gomatrixserverlib#419
May fix: #2508, #1760