Config option to process the "view" activity

This commit is contained in:
Michael 2023-02-20 06:41:28 +00:00
parent 08754b2bab
commit 11513519ce
7 changed files with 47 additions and 10 deletions

View file

@ -559,7 +559,7 @@ class Receiver
return true;
}
if ($type == 'as:View') {
if (!DI::config()->get('system', 'process_view') && ($type == 'as:View')) {
Logger::info('View activities are ignored.', ['signer' => $signer, 'http_signer' => $http_signer]);
return true;
}