mirror of
https://github.com/friendica/friendica
synced 2025-04-22 09:10:10 +00:00
Don't add already queued items from Diaspora to the queue again
This commit is contained in:
parent
af55cd57f3
commit
0093f863fd
7 changed files with 19 additions and 25 deletions
|
@ -145,7 +145,7 @@ class Queue
|
|||
case NETWORK_DIASPORA:
|
||||
if ($contact['notify']) {
|
||||
logger('queue: diaspora_delivery: item ' . $q_item['id'] . ' for ' . $contact['name'] . ' <' . $contact['url'] . '>');
|
||||
$deliver_status = Diaspora::transmit($owner, $contact, $data, $public, true);
|
||||
$deliver_status = Diaspora::transmit($owner, $contact, $data, $public, true, 'Queue:' . $q_item['id'], true);
|
||||
|
||||
if ($deliver_status == (-1)) {
|
||||
QueueModel::updateTime($q_item['id']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue