diff --git a/Web/Presenters/OpenVKPresenter.php b/Web/Presenters/OpenVKPresenter.php index 1c9fdf08..198de158 100755 --- a/Web/Presenters/OpenVKPresenter.php +++ b/Web/Presenters/OpenVKPresenter.php @@ -269,7 +269,7 @@ abstract class OpenVKPresenter extends SimplePresenter function isActivityPubClient(): bool { $accept = explode(";", $_SERVER['HTTP_ACCEPT']); - return (bool) preg_match("/(application\/(ld\+json|activity\+json))/", $accept[0]); + return (bool) preg_match("/(application\/(ld\+json|activity\+json|json))/", $accept[0]); } function getPersonContext()