sforkowany z mirror/friendica
Use correct data key to compare authors before appending mention in Protocol\Diaspora
rodzic
69752fd945
commit
888f7ffd1c
|
@ -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')
|
||||
) {
|
||||
|
|
Ładowanie…
Reference in New Issue