mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
shuffle queue deliveries for more randomness
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user