diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-04-07 15:50:42 +0100 |
---|---|---|
committer | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-04-07 15:50:42 +0100 |
commit | 2dc35403d10d5bc11ab78255494d96a7479e2f5b (patch) | |
tree | 5eab65f5cd9425f3c5fbe914d193cc4c8a603ff1 /clientapi | |
parent | 60ee7eef4c8ea7e17135d52d3dde9be0b54e2f55 (diff) |
Send avatar updates asynchronously, same as display name updates
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 dd1da180..3f91b4c9 100644 --- a/clientapi/routing/profile.go +++ b/clientapi/routing/profile.go @@ -180,7 +180,7 @@ func SetAvatarURL( return jsonerror.InternalServerError() } - if err := api.SendEvents(req.Context(), rsAPI, api.KindNew, events, cfg.Matrix.ServerName, cfg.Matrix.ServerName, nil, false); err != nil { + if err := api.SendEvents(req.Context(), rsAPI, api.KindNew, events, cfg.Matrix.ServerName, cfg.Matrix.ServerName, nil, true); err != nil { util.GetLogger(req.Context()).WithError(err).Error("SendEvents failed") return jsonerror.InternalServerError() } |