mirror of
https://github.com/friendica/friendica
synced 2024-11-19 21:43:41 +00:00
Merge pull request #10026 from annando/notice-type
Fixes notice: "Undefined index: type"
This commit is contained in:
commit
4cc919cd30
1 changed files with 2 additions and 1 deletions
|
@ -101,7 +101,8 @@ class Receiver
|
|||
|
||||
$apcontact = APContact::getByURL($actor);
|
||||
if (empty($apcontact)) {
|
||||
Logger::notice('Unable to retrieve AP contact for actor', ['actor' => $actor]);
|
||||
Logger::notice('Unable to retrieve AP contact for actor - message is discarded', ['actor' => $actor]);
|
||||
return;
|
||||
} elseif ($apcontact['type'] == 'Application' && $apcontact['nick'] == 'relay') {
|
||||
self::processRelayPost($ldactivity, $actor);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue