Update AP helpers

This commit is contained in:
Daniel Supernault 2018-12-25 23:56:18 -07:00
parent ee167f0f8c
commit 03007b1754
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -210,7 +210,7 @@ class Helpers {
$activity = ['object' => $res]; $activity = ['object' => $res];
} }
$idDomain = parse_url($activity['id'], PHP_URL_HOST); $idDomain = parse_url($res['id'], PHP_URL_HOST);
$urlDomain = parse_url($url, PHP_URL_HOST); $urlDomain = parse_url($url, PHP_URL_HOST);
$actorDomain = parse_url($activity['object']['attributedTo'], PHP_URL_HOST); $actorDomain = parse_url($activity['object']['attributedTo'], PHP_URL_HOST);