diff options
author | Till <2353100+S7evinK@users.noreply.github.com> | 2023-10-23 15:17:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-23 15:17:21 +0200 |
commit | 8b3adaf244a699e81577d81f1e0a1a38d42e5f51 (patch) | |
tree | e2e51459b3899dfcaebc1d7efc22aff47f000088 /clientapi | |
parent | 8c23c1150c37a88e078037b8c4b47f4efecab727 (diff) |
Fix state resets (#3231)
Needs https://github.com/matrix-org/gomatrixserverlib/pull/419
May fix: https://github.com/matrix-org/dendrite/issues/2508,
https://github.com/matrix-org/dendrite/issues/1760
Diffstat (limited to 'clientapi')
-rw-r--r-- | clientapi/routing/profile.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clientapi/routing/profile.go b/clientapi/routing/profile.go index 564cd588..9959144c 100644 --- a/clientapi/routing/profile.go +++ b/clientapi/routing/profile.go @@ -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 { util.GetLogger(ctx).WithError(err).Error("SendEvents failed") return util.JSONResponse{ Code: http.StatusInternalServerError, |