Merge pull request #1072 from annando/discourse-notice

Discourse: Avoid notices when fetching mails
pull/1073/head
Hypolite Petovan 2021-01-29 10:13:12 -05:00 committed by GitHub
commit 342cc2c044
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
if ($message['item']['parent-uri'] != $message['item']['uri']) {
if ($message['item']['thr-parent'] != $message['item']['uri']) {
unset($message['item']['title']);
}
}