From 9bd1935d604c621fa1e74a8d23a1bb1c04186a9e Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Tue, 28 Jun 2022 18:09:39 +0000 Subject: [PATCH] Prevent duplicate set display name request Signed-off-by: Christopher Ng --- apps/settings/js/federationsettingsview.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/settings/js/federationsettingsview.js b/apps/settings/js/federationsettingsview.js index 9eb0b930733..e05cc9f20f4 100644 --- a/apps/settings/js/federationsettingsview.js +++ b/apps/settings/js/federationsettingsview.js @@ -128,7 +128,8 @@ _.each(this._inputFields, function(field) { if ( field === 'avatar' || - field === 'email' + field === 'email' || + field === 'displayname' ) { return; } -- 2.39.5