Browse Source

Discourse: Avoid notices when fetching mails

pull/1072/head
Michael 4 months ago
parent
commit
24527b3584
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      discourse/discourse.php

+ 1
- 1
discourse/discourse.php 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']);
}
}


Loading…
Cancel
Save