]> git.mxchange.org Git - friendica-addons.git/commitdiff
Discourse: Avoid notices when fetching mails
authorMichael <heluecht@pirati.ca>
Fri, 29 Jan 2021 10:44:30 +0000 (10:44 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 29 Jan 2021 10:44:30 +0000 (10:44 +0000)
discourse/discourse.php

index 3ee980ceb39a6aa857f996cb09640f7f329799ae..f52edb9fb74597294cc1aa9127aead42e850e6ba 100644 (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']);
        }
 }