diff options
author | Mario <mario@mariovavti.com> | 2021-03-14 09:01:12 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-03-15 08:49:53 +0000 |
commit | 4d3524ba9dd155d71969debc5c24198e8bd7b7a1 (patch) | |
tree | 5a6ed284c1cff4a9495d769346cc9c922e533231 /Zotlabs/Daemon | |
parent | 29beea28c2604efcd10e4daa242d7e58bafe59d8 (diff) | |
download | volse-hubzilla-4d3524ba9dd155d71969debc5c24198e8bd7b7a1.tar.gz volse-hubzilla-4d3524ba9dd155d71969debc5c24198e8bd7b7a1.tar.bz2 volse-hubzilla-4d3524ba9dd155d71969debc5c24198e8bd7b7a1.zip |
mod subthread issue continued
(cherry picked from commit b6d30f67345f37dae8dfffd96b065e6139364bcd)
Diffstat (limited to 'Zotlabs/Daemon')
-rw-r--r-- | Zotlabs/Daemon/Notifier.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Zotlabs/Daemon/Notifier.php b/Zotlabs/Daemon/Notifier.php index 02a0e155f..741078422 100644 --- a/Zotlabs/Daemon/Notifier.php +++ b/Zotlabs/Daemon/Notifier.php @@ -331,6 +331,12 @@ class Notifier { return; } + // follow/unfollow is for internal use only + if (in_array($target_item['verb'], [ACTIVITY_FOLLOW, ACTIVITY_UNFOLLOW])) { + logger('not fowarding follow/unfollow note activity'); + return; + } + if (strpos($target_item['postopts'], 'nodeliver') !== false) { logger('notifier: target item is undeliverable', LOGGER_DEBUG); return; |