diff options
author | friendica <info@friendica.com> | 2014-05-02 17:29:04 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-05-02 17:29:04 -0700 |
commit | 62b4ec4e75c6017e952444c104f3d5c6054dbe48 (patch) | |
tree | 2bc8ea2f42281d0e9729ef30af769f85851bd222 | |
parent | cdf5e08eb970c58b2d413e4ea9a4042f265259a3 (diff) | |
download | volse-hubzilla-62b4ec4e75c6017e952444c104f3d5c6054dbe48.tar.gz volse-hubzilla-62b4ec4e75c6017e952444c104f3d5c6054dbe48.tar.bz2 volse-hubzilla-62b4ec4e75c6017e952444c104f3d5c6054dbe48.zip |
make folks from certain other networks feel more at home here
-rw-r--r-- | include/notifier.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/notifier.php b/include/notifier.php index dbae6211c..59f472539 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -476,6 +476,14 @@ function notifier_run($argv, $argc){ $deliver = array(); foreach($hubs as $hub) { + + if(defined('DIASPORA_RELIABILITY_EMULATION')) { + $cointoss = mt_rand(0,2); + if($cointoss == 2) { + continue; + } + } + $hash = random_string(); if($packet_type === 'refresh' || $packet_type === 'purge') { $n = zot_build_packet($channel,$packet_type); |