From ce6845f44f4dabe1023683be37b4a8d6886db9c3 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 30 Dec 2022 21:44:12 +0000 Subject: [PATCH] Code standards --- src/Protocol/Delivery.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Protocol/Delivery.php b/src/Protocol/Delivery.php index eece5401b..79297e228 100644 --- a/src/Protocol/Delivery.php +++ b/src/Protocol/Delivery.php @@ -120,7 +120,7 @@ class Delivery return; } - $condition = ['uri' => $target_item['thr-parent'], 'uid' => $target_item['uid']]; + $condition = ['uri' => $target_item['thr-parent'], 'uid' => $target_item['uid']]; $thr_parent = Post::selectFirst(['network', 'object'], $condition); if (!DBA::isResult($thr_parent)) { // Shouldn't happen. But when this does, we just take the parent as thread parent. @@ -527,7 +527,7 @@ class Delivery $reply_to = $mailacct['reply_to']; } - $subject = ($target_item['title'] ? Email::encodeHeader($target_item['title'], 'UTF-8') : DI::l10n()->t("\x28no subject\x29")); + $subject = ($target_item['title'] ? Email::encodeHeader($target_item['title'], 'UTF-8') : DI::l10n()->t("\x28no subject\x29")); // only expose our real email address to true friends