From 24527b3584b8c1f53beac8f548b6537a9037b51e Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 29 Jan 2021 10:44:30 +0000 Subject: [PATCH] Discourse: Avoid notices when fetching mails --- discourse/discourse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discourse/discourse.php b/discourse/discourse.php index 3ee980ceb..f52edb9fb 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']); } }