mirror of
https://github.com/friendica/friendica
synced 2024-11-19 01:03:40 +00:00
The only reason we don't defer is when it was a post to a relay
This commit is contained in:
parent
bbac95d692
commit
9f026f1814
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@ class Delivery extends BaseObject
|
|||
// The message could not be delivered. We mark the contact as "dead"
|
||||
Model\Contact::markForArchival($contact);
|
||||
|
||||
if (!empty($contact['contact-type']) && ($contact['contact-type'] != Model\Contact::TYPE_RELAY)) {
|
||||
if (empty($contact['contact-type']) || ($contact['contact-type'] != Model\Contact::TYPE_RELAY)) {
|
||||
Logger::info('Delivery failed: defer message', ['id' => defaults($target_item, 'guid', $target_item['id'])]);
|
||||
// defer message for redelivery
|
||||
Worker::defer();
|
||||
|
|
Loading…
Reference in a new issue