aboutsummaryrefslogtreecommitdiffstats
path: root/include/notifier.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-11-06 16:48:13 -0800
committerFriendika <info@friendika.com>2011-11-06 16:48:13 -0800
commit327105a4ea722e746cae0caa2731ec13435fadc7 (patch)
tree07013dc110bde81cf6e6dc06a1ff9685efe434d4 /include/notifier.php
parentc991a1a606978bd593fefc6efe244849f6068255 (diff)
downloadvolse-hubzilla-327105a4ea722e746cae0caa2731ec13435fadc7.tar.gz
volse-hubzilla-327105a4ea722e746cae0caa2731ec13435fadc7.tar.bz2
volse-hubzilla-327105a4ea722e746cae0caa2731ec13435fadc7.zip
try and fix diaspora multiple items queued issue
Diffstat (limited to 'include/notifier.php')
-rw-r--r--include/notifier.php13
1 files changed, 12 insertions, 1 deletions
diff --git a/include/notifier.php b/include/notifier.php
index cc53a17c4..a4fe9b71e 100644
--- a/include/notifier.php
+++ b/include/notifier.php
@@ -206,7 +206,7 @@ function notifier_run($argv, $argc){
/**
*
- * Be VERY CAREFUL if you make any changes to the following lines. Seemingly innocuous changes
+ * Be VERY CAREFUL if you make any changes to the following several lines. Seemingly innocuous changes
* have been known to cause runaway conditions which affected several servers, along with
* permissions issues.
*
@@ -218,6 +218,17 @@ function notifier_run($argv, $argc){
$relay_to_owner = true;
}
+ // until the 'origin' flag has been in use for several months
+ // we will just use it as a fallback test
+ // later we will be able to use it as the primary test of whether or not to relay.
+
+ if(! $target_item['origin'])
+ $relay_to_owner = false;
+
+ if($parent['origin'])
+ $relay_to_owner = false;
+
+
if($relay_to_owner) {
logger('notifier: followup', LOGGER_DEBUG);