Only store the inbox-queue on activated background processing

This commit is contained in:
Michael 2022-07-31 08:10:47 +00:00
parent 371f20a1aa
commit 06a124338a
2 changed files with 6 additions and 3 deletions

View file

@ -583,7 +583,7 @@ class Receiver
$object_data['object_activity'] = $activity;
}
if ($trust_source || DI::config()->get('debug', 'ap_inbox_store_untrusted')) {
if (DI::config()->get('system', 'decoupled_receiver') && ($trust_source || DI::config()->get('debug', 'ap_inbox_store_untrusted'))) {
$object_data = Queue::add($object_data, $type, $uid, $http_signer, $push, $trust_source);
}