Commit b53ff5ac authored by mgabdev's avatar mgabdev

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

parent 09ba345c
......@@ -133,6 +133,7 @@ class PostStatusService < BaseService
end
def scheduled?
return false unless @account.is_pro
@scheduled_at.present?
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment