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

2022.09-rc
Hypolite Petovan 2019-09-15 07:05:47 -04:00
rodzic 69752fd945
commit 888f7ffd1c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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