Added check if user isn't pro, don't allow scheduled statuses
This commit is contained in:
parent
09ba345cd1
commit
b53ff5ac44
|
@ -133,6 +133,7 @@ class PostStatusService < BaseService
|
|||
end
|
||||
|
||||
def scheduled?
|
||||
return false unless @account.is_pro
|
||||
@scheduled_at.present?
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue