Added check if user isn't pro, don't allow scheduled statuses

This commit is contained in:
mgabdev 2019-09-18 19:43:43 -04:00
parent 09ba345cd1
commit b53ff5ac44
1 changed files with 1 additions and 0 deletions

View File

@ -133,6 +133,7 @@ class PostStatusService < BaseService
end
def scheduled?
return false unless @account.is_pro
@scheduled_at.present?
end