sforkowany z mirror/friendica
Ensure author-link key has a value in Worker\Notifier
- Address https://github.com/friendica/friendica/issues/8875#issuecomment-6919424572022.09-rc
rodzic
0f1bab6fea
commit
fb131027fa
|
@ -179,7 +179,7 @@ class Notifier
|
|||
|
||||
// Only deliver threaded replies (comment to a comment) to Diaspora
|
||||
// when the original comment author does support the Diaspora protocol.
|
||||
if ($target_item['parent-uri'] != $target_item['thr-parent']) {
|
||||
if ($thr_parent['author-link'] && $target_item['parent-uri'] != $target_item['thr-parent']) {
|
||||
$diaspora_delivery = Diaspora::isSupportedByContactUrl($thr_parent['author-link']);
|
||||
Logger::info('Threaded comment', ['diaspora_delivery' => (int)$diaspora_delivery]);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue