mirror of
https://github.com/friendica/friendica
synced 2025-04-26 09:10:15 +00:00
Delayed relay distribution
This commit is contained in:
parent
c3725d4b3e
commit
380828d78c
2 changed files with 19 additions and 4 deletions
|
@ -67,7 +67,7 @@ class Transmitter
|
|||
* @param array $inboxes
|
||||
* @return array inboxes with added relay servers
|
||||
*/
|
||||
public static function addRelayServerInboxes(array $inboxes)
|
||||
public static function addRelayServerInboxes(array $inboxes = [])
|
||||
{
|
||||
$contacts = DBA::select('apcontact', ['inbox'],
|
||||
["`type` = ? AND `url` IN (SELECT `url` FROM `contact` WHERE `uid` = ? AND `rel` IN (?, ?))",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue