1
1
Fork 0

Use correct data key to compare authors before appending mention in Protocol\Diaspora

This commit is contained in:
Hypolite Petovan 2019-09-15 07:05:47 -04:00
parent 69752fd945
commit 888f7ffd1c

View file

@ -3868,7 +3868,7 @@ class Diaspora
// - Item is public or explicit mentions are disabled
// - Implicit mentions are enabled
if (
$owner['id'] != $thread_parent_item['author-id']
$item['author-id'] != $thread_parent_item['author-id']
&& (empty($item['uid']) || !Feature::isEnabled($item['uid'], 'explicit_mentions'))
&& !Config::get('system', 'disable_implicit_mentions')
) {