aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon/Notifier.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-03-14 09:01:12 +0000
committerMario <mario@mariovavti.com>2021-03-14 09:01:12 +0000
commitb6d30f67345f37dae8dfffd96b065e6139364bcd (patch)
tree86913bbe9407a8042eb3c3ee2ada686f0af700a8 /Zotlabs/Daemon/Notifier.php
parent22d769ecae17c9d5d36232c543b48b0a155ca502 (diff)
downloadvolse-hubzilla-b6d30f67345f37dae8dfffd96b065e6139364bcd.tar.gz
volse-hubzilla-b6d30f67345f37dae8dfffd96b065e6139364bcd.tar.bz2
volse-hubzilla-b6d30f67345f37dae8dfffd96b065e6139364bcd.zip
mod subthread issue continued
Diffstat (limited to 'Zotlabs/Daemon/Notifier.php')
-rw-r--r--Zotlabs/Daemon/Notifier.php6
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;