mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 07:15:13 +00:00
reject zot activities with no actor array after parse
This commit is contained in:
parent
305fd0fa30
commit
7aabd06a4d
1 changed files with 5 additions and 0 deletions
|
@ -1369,6 +1369,11 @@ class Libzot {
|
|||
|
||||
if (in_array($env['type'],['activity','response'])) {
|
||||
|
||||
if (! is_array($AS->actor)) {
|
||||
logger('No author!');
|
||||
return;
|
||||
}
|
||||
|
||||
$r = q("select hubloc_hash, hubloc_network, hubloc_url from hubloc where hubloc_id_url = '%s'",
|
||||
dbesc($AS->actor['id'])
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue