Discourse: Avoid notices when fetching mails

pull/1072/head
Michael 2021-01-29 10:44:30 +00:00
parent 13cdb37f3d
commit 24527b3584
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ function discourse_email_getmessage(App $a, &$message)
} }
// Remove the title on comments, they don't serve any purpose there // 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']); unset($message['item']['title']);
} }
} }