Merge pull request from pixelfed/frontend-ui-refactor

Update AP helpers
This commit is contained in:
daniel 2018-12-25 23:56:51 -07:00 committed by GitHub
commit ddadf86eea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -210,7 +210,7 @@ class Helpers {
$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);
$actorDomain = parse_url($activity['object']['attributedTo'], PHP_URL_HOST);