diff options
author | Mario <mario@mariovavti.com> | 2024-02-13 11:00:49 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-02-13 11:00:49 +0000 |
commit | 060210e930e54ab7894c853dadc4978ad97b296b (patch) | |
tree | 26155cdc79b897775e8408d9d80f1792621c55fb /Zotlabs/Lib | |
parent | 9291622885646ce9c5ebb4249d90f86f8b74205d (diff) | |
download | volse-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')
-rw-r--r-- | Zotlabs/Lib/Activity.php | 2 |
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; } |