mirror of
https://github.com/friendica/friendica
synced 2025-04-26 13:10:11 +00:00
starting the big delivery shakeup
This commit is contained in:
parent
a6edf2f71c
commit
d6b446d63f
9 changed files with 183 additions and 110 deletions
|
@ -123,6 +123,7 @@ function queue_run($argv, $argc){
|
|||
}
|
||||
|
||||
$data = $qi[0]['content'];
|
||||
$public = $qi[0]['batch'];
|
||||
$contact = $c[0];
|
||||
$owner = $u[0];
|
||||
|
||||
|
@ -155,7 +156,7 @@ function queue_run($argv, $argc){
|
|||
case NETWORK_DIASPORA:
|
||||
if($contact['notify']) {
|
||||
logger('queue: diaspora_delivery: item ' . $q_item['id'] . ' for ' . $contact['name']);
|
||||
$deliver_status = diaspora_transmit($owner,$contact,$data);
|
||||
$deliver_status = diaspora_transmit($owner,$contact,$data,$public);
|
||||
|
||||
if($deliver_status == (-1))
|
||||
update_queue_time($q_item['id']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue