Skip to content

Commit

Permalink
Properly name privacy settings for display name and avatar
Browse files Browse the repository at this point in the history
This setting was introduced with f489fd9 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 <hey@morrisjobke.de>
  • Loading branch information
MorrisJobke committed Nov 16, 2018
1 parent 8a5ac26 commit b0cc929
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions settings/js/federationscopemenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand Down

0 comments on commit b0cc929

Please sign in to comment.