Browse Source

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

pull/7630/head
Hypolite Petovan 2 years ago
parent
commit
888f7ffd1c
  1. 2
      src/Protocol/Diaspora.php

2
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')
) {

Loading…
Cancel
Save