From: Hypolite Petovan Date: Mon, 7 Sep 2020 23:27:51 +0000 (-0400) Subject: Add a self-only ACL block to personal notes jot X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5730da264bfbc33f7bcb2581369aef94da94086d;p=friendica.git Add a self-only ACL block to personal notes jot --- diff --git a/mod/notes.php b/mod/notes.php index f1cf6cfde5..d3ce0fa40c 100644 --- a/mod/notes.php +++ b/mod/notes.php @@ -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(),