Use correct data key to compare authors before appending mention in Protocol\Diaspora
This commit is contained in:
parent
69752fd945
commit
888f7ffd1c
1 changed files with 1 additions and 1 deletions
|
@ -3868,7 +3868,7 @@ class Diaspora
|
||||||
// - Item is public or explicit mentions are disabled
|
// - Item is public or explicit mentions are disabled
|
||||||
// - Implicit mentions are enabled
|
// - Implicit mentions are enabled
|
||||||
if (
|
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'))
|
&& (empty($item['uid']) || !Feature::isEnabled($item['uid'], 'explicit_mentions'))
|
||||||
&& !Config::get('system', 'disable_implicit_mentions')
|
&& !Config::get('system', 'disable_implicit_mentions')
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Reference in a new issue