From 5730da264bfbc33f7bcb2581369aef94da94086d Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Mon, 7 Sep 2020 19:27:51 -0400 Subject: [PATCH] Add a self-only ACL block to personal notes jot --- mod/notes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(),