From b0cc9298ed145a48a1a502fcafe8f838e8fd97b3 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Fri, 16 Nov 2018 15:39:58 +0100 Subject: [PATCH] Properly name privacy settings for display name and avatar This setting was introduced with f489fd99c352be3dfa65c1955573e44c13732e30 in #1946. I could not find any hint that this was ever working local only. Thus this should be changed to "private" to properly reflect what it is doing. Background is that the properties aren't synced to the system address book if the setting is "private". Fixes #10317 Signed-off-by: Morris Jobke --- settings/js/federationscopemenu.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/settings/js/federationscopemenu.js b/settings/js/federationscopemenu.js index e55b26198eb0f..fa1b91b49ab28 100644 --- a/settings/js/federationscopemenu.js +++ b/settings/js/federationscopemenu.js @@ -27,8 +27,8 @@ this._scopes = [ { name: 'private', - displayName: (this.field === 'avatar' || this.field === 'displayname') ? t('settings', 'Local') : t('settings', 'Private'), - tooltip: (this.field === 'avatar' || this.field === 'displayname') ? t('settings', 'Only visible to local users') : t('settings', 'Only visible to you'), + displayName: t('settings', 'Private'), + tooltip: t('settings', 'Only visible to you'), iconClass: 'icon-password', active: false },