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
|
end
|
||||||
|
|
||||||
def scheduled?
|
def scheduled?
|
||||||
|
return false unless @account.is_pro
|
||||||
@scheduled_at.present?
|
@scheduled_at.present?
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user