Display name too
This commit is contained in:
parent
7d097325a3
commit
ea3517d94e
|
@ -310,6 +310,7 @@ func getSenderDevice(
|
||||||
displayNameRes := &userapi.PerformUpdateDisplayNameResponse{}
|
displayNameRes := &userapi.PerformUpdateDisplayNameResponse{}
|
||||||
if err = userAPI.SetDisplayName(ctx, &userapi.PerformUpdateDisplayNameRequest{
|
if err = userAPI.SetDisplayName(ctx, &userapi.PerformUpdateDisplayNameRequest{
|
||||||
Localpart: cfg.Matrix.ServerNotices.LocalPart,
|
Localpart: cfg.Matrix.ServerNotices.LocalPart,
|
||||||
|
ServerName: cfg.Matrix.ServerName,
|
||||||
DisplayName: cfg.Matrix.ServerNotices.DisplayName,
|
DisplayName: cfg.Matrix.ServerNotices.DisplayName,
|
||||||
}, displayNameRes); err != nil {
|
}, displayNameRes); err != nil {
|
||||||
util.GetLogger(ctx).WithError(err).Error("userAPI.SetDisplayName failed")
|
util.GetLogger(ctx).WithError(err).Error("userAPI.SetDisplayName failed")
|
||||||
|
|
Loading…
Reference in a new issue