Update StatusDelete

This commit is contained in:
Daniel Supernault 2019-06-09 17:27:04 -06:00
parent 7bad6adab5
commit 0077544779
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -55,7 +55,7 @@ class StatusDelete implements ShouldQueue
{
$status = $this->status;
if(config('pixelfed.activitypub_enabled') == true) {
if(config('federation.activitypub.enabled') == true) {
$this->fanoutDelete($status);
} else {
$this->unlinkRemoveMedia($status);