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

View File

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