aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Zotlabs/Lib/ThreadItem.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php
index e86e2cac1..d1b386c42 100644
--- a/Zotlabs/Lib/ThreadItem.php
+++ b/Zotlabs/Lib/ThreadItem.php
@@ -137,13 +137,7 @@ class ThreadItem {
$shareable = false;
}
- $privacy_warning = false;
- if(intval($item['item_private']) && ($item['owner']['xchan_network'] === 'activitypub')) {
- $recips = get_iconfig($item['parent'], 'activitypub', 'recips');
-
- if(! is_array($recips['to']) || ! in_array($observer['xchan_url'], $recips['to']))
- $privacy_warning = true;
- }
+ $privacy_warning = ($item['owner']['xchan_network'] === 'activitypub' && intval($item['item_private']) === 1);
if ($lock) {
if (($item['mid'] == $item['parent_mid']) && isset($item['term']) && count(get_terms_oftype($item['term'], TERM_FORUM))) {