aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-06-08 15:33:02 +0000
committerMario <mario@mariovavti.com>2023-06-08 15:33:02 +0000
commit0c2cb18578f2f02c96cdb5ab44d0db7b24ce2af5 (patch)
tree25c89524fcd143316ceedb2b218ec2f407e8b781 /include
parentdb2c5aae845e8defae965defe91aacb125ef282a (diff)
downloadvolse-hubzilla-0c2cb18578f2f02c96cdb5ab44d0db7b24ce2af5.tar.gz
volse-hubzilla-0c2cb18578f2f02c96cdb5ab44d0db7b24ce2af5.tar.bz2
volse-hubzilla-0c2cb18578f2f02c96cdb5ab44d0db7b24ce2af5.zip
shuffle queue deliveries for more randomness
Diffstat (limited to 'include')
-rw-r--r--include/network.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/network.php b/include/network.php
index f0642d8f7..b34fdffcc 100644
--- a/include/network.php
+++ b/include/network.php
@@ -1729,12 +1729,14 @@ function deliverable_singleton($channel_id,$xchan) {
intval($channel_id),
dbesc($xchan_hash)
);
+
if($r) {
if(! $r[0]['abook_instance'])
return true;
if(strpos($r[0]['abook_instance'],z_root()) !== false)
return true;
}
+
return false;
}