From eb4cfa65d819e55a45fb5b6f8028f6faf43f5349 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sat, 14 Dec 2019 06:42:40 +0100 Subject: [PATCH] Fixed warning --- src/Worker/Delivery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Worker/Delivery.php b/src/Worker/Delivery.php index da0c8f2adb..c364ce5e51 100644 --- a/src/Worker/Delivery.php +++ b/src/Worker/Delivery.php @@ -252,7 +252,7 @@ class Delivery extends BaseObject private static function deliverDFRN($cmd, $contact, $owner, $items, $target_item, $public_message, $top_level, $followup) { // Transmit Diaspora reshares via Diaspora if the Friendica contact support Diaspora - if (Diaspora::isReshare($target_item['body']) && !empty(Diaspora::personByHandle(contact['addr'], false))) { + if (Diaspora::isReshare($target_item['body']) && !empty(Diaspora::personByHandle($contact['addr'], false))) { Logger::info('Reshare will be transmitted via Diaspora', ['url' => $contact['url'], 'guid' => ($target_item['guid'] ?? '') ?: $target_item['id']]); self::deliverDiaspora($cmd, $contact, $owner, $items, $target_item, $public_message, $top_level, $followup); return; -- 2.39.5