From 060210e930e54ab7894c853dadc4978ad97b296b Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 13 Feb 2024 11:00:49 +0000 Subject: consider a message arriving to our inbox with no recipients (as seen from friendica) a direct message --- Zotlabs/Lib/Activity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Lib/Activity.php') diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 020a87ea7..08fd6ee05 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -2601,7 +2601,7 @@ class Activity { $s['item_private'] = 0; } - if ($act->objprop('directMessage')) { + if ($act->objprop('directMessage') || empty($act->recips)) { $s['item_private'] = 2; } -- cgit v1.2.3