Add a self-only ACL block to personal notes jot

This commit is contained in:
Hypolite Petovan 2020-09-07 19:27:51 -04:00
parent 5f5b97dad6
commit 5730da264b

View File

@ -55,7 +55,7 @@ function notes_content(App $a, $update = false)
'default_location' => $a->user['default-location'],
'nickname' => $a->user['nickname'],
'lockstate' => 'lock',
'acl' => '',
'acl' => \Friendica\Core\ACL::getSelfOnlyHTML(local_user(), DI::l10n()->t('Personal notes are visible only by yourself.')),
'bang' => '',
'visitor' => 'block',
'profile_uid' => local_user(),