aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Notes.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Widget/Notes.php')
-rw-r--r--Zotlabs/Widget/Notes.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/Zotlabs/Widget/Notes.php b/Zotlabs/Widget/Notes.php
index 2e8e04e93..c9d08c6b7 100644
--- a/Zotlabs/Widget/Notes.php
+++ b/Zotlabs/Widget/Notes.php
@@ -10,6 +10,7 @@
namespace Zotlabs\Widget;
+use App;
use Zotlabs\Lib\Apps;
class Notes {
@@ -18,6 +19,9 @@ class Notes {
if(! local_channel())
return EMPTY_STR;
+ if(App::$profile_uid !== local_channel())
+ return EMPTY_STR;
+
if(! Apps::system_app_installed(local_channel(), 'Notes'))
return EMPTY_STR;