mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-28 03:13:16 +00:00
Discourse: Avoid notices when fetching mails
This commit is contained in:
parent
13cdb37f3d
commit
24527b3584
1 changed files with 1 additions and 1 deletions
|
@ -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']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue