mirror of
https://github.com/friendica/friendica
synced 2024-11-18 23:03:40 +00:00
Fix notive "Undefined index: author-network"
This commit is contained in:
parent
e55696c716
commit
666c55f93a
1 changed files with 2 additions and 2 deletions
|
@ -629,12 +629,12 @@ class Notifier
|
|||
}
|
||||
|
||||
// Skip the delivery to Diaspora if the item is from an ActivityPub author
|
||||
if ($item['author-network'] == Protocol::ACTIVITYPUB) {
|
||||
if (!empty($item['author-network']) && ($item['author-network'] == Protocol::ACTIVITYPUB)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// Skip the delivery to Diaspora if the thread parent is from an ActivityPub author
|
||||
if ($thr_parent['author-network'] == Protocol::ACTIVITYPUB) {
|
||||
if (!empty($thr_parent['author-network']) && ($thr_parent['author-network'] == Protocol::ACTIVITYPUB)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue