block scheduled status from frozen users (#30729)
This commit is contained in:
@@ -9,6 +9,8 @@ class PublishScheduledStatusWorker
|
||||
scheduled_status = ScheduledStatus.find(scheduled_status_id)
|
||||
scheduled_status.destroy!
|
||||
|
||||
return true if scheduled_status.account.user.disabled?
|
||||
|
||||
PostStatusService.new.call(
|
||||
scheduled_status.account,
|
||||
options_with_objects(scheduled_status.params.with_indifferent_access)
|
||||
|
||||
Reference in New Issue
Block a user