wrong argument

This commit is contained in:
Diogo Cordeiro
2018-08-02 04:24:10 +01:00
parent 956d5c9b7d
commit e3086351e0
2 changed files with 9 additions and 9 deletions

View File

@@ -119,7 +119,7 @@ class ActivityPubPlugin extends Plugin
$headers[] = 'Accept: application/ld+json; profile="https://www.w3.org/ns/activitystreams"';
$headers[] = 'User-Agent: GNUSocialBot v0.1 - https://gnu.io/social';
$response = $client->get($url, $headers);
$res = json_decode($response->getBody(), JSON_UNESCAPED_SLASHES);
$res = json_decode($response->getBody());
$settings = [];
try {
Activitypub_notice::validate_remote_notice($res);