From 888f7ffd1cf4cfcd48792ab56dceba514282d0b3 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 15 Sep 2019 07:05:47 -0400 Subject: [PATCH] Use correct data key to compare authors before appending mention in Protocol\Diaspora --- src/Protocol/Diaspora.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') ) {