From: Hypolite Petovan Date: Sun, 15 Sep 2019 11:05:47 +0000 (-0400) Subject: Use correct data key to compare authors before appending mention in Protocol\Diaspora X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=888f7ffd1cf4cfcd48792ab56dceba514282d0b3;p=friendica.git Use correct data key to compare authors before appending mention in Protocol\Diaspora --- diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index 5da1aac246..9e074e8a9a 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -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') ) {