aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Activity.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-02-13 11:00:49 +0000
committerMario <mario@mariovavti.com>2024-02-13 11:00:49 +0000
commit060210e930e54ab7894c853dadc4978ad97b296b (patch)
tree26155cdc79b897775e8408d9d80f1792621c55fb /Zotlabs/Lib/Activity.php
parent9291622885646ce9c5ebb4249d90f86f8b74205d (diff)
downloadvolse-hubzilla-060210e930e54ab7894c853dadc4978ad97b296b.tar.gz
volse-hubzilla-060210e930e54ab7894c853dadc4978ad97b296b.tar.bz2
volse-hubzilla-060210e930e54ab7894c853dadc4978ad97b296b.zip
consider a message arriving to our inbox with no recipients (as seen from friendica) a direct message
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-rw-r--r--Zotlabs/Lib/Activity.php2
1 files changed, 1 insertions, 1 deletions
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;
}