diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-03-03 18:24:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-03 18:24:14 +0000 |
commit | f75169c3535488ac584c4e270bc9e6b0cb69e539 (patch) | |
tree | 6205dc153bc22ad5904ef5a89a337cb8f0ed21aa /clientapi | |
parent | 72022a6ecf80177a28883d7016790ea41646d396 (diff) |
Send profile updates asynchronously (#2246)
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 717cbda7..4aab0371 100644 --- a/clientapi/routing/profile.go +++ b/clientapi/routing/profile.go @@ -286,7 +286,7 @@ func SetDisplayName( 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() } |