From: Michael Date: Fri, 29 Jan 2021 10:44:30 +0000 (+0000) Subject: Discourse: Avoid notices when fetching mails X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=24527b3584b8c1f53beac8f548b6537a9037b51e;p=friendica-addons.git Discourse: Avoid notices when fetching mails --- diff --git a/discourse/discourse.php b/discourse/discourse.php index 3ee980ce..f52edb9f 100644 --- a/discourse/discourse.php +++ b/discourse/discourse.php @@ -106,7 +106,7 @@ function discourse_email_getmessage(App $a, &$message) } // Remove the title on comments, they don't serve any purpose there - if ($message['item']['parent-uri'] != $message['item']['uri']) { + if ($message['item']['thr-parent'] != $message['item']['uri']) { unset($message['item']['title']); } }