Added pro feed
• Added: - pro feed
This commit is contained in:
@@ -22,6 +22,7 @@ class RemoveStatusService < BaseService
|
||||
remove_from_affected
|
||||
remove_reblogs
|
||||
remove_from_hashtags
|
||||
remove_from_pro
|
||||
|
||||
@status.destroy!
|
||||
else
|
||||
@@ -143,6 +144,12 @@ class RemoveStatusService < BaseService
|
||||
end
|
||||
end
|
||||
|
||||
def remove_from_pro
|
||||
if @account.is_pro || @account.is_donor || @account.is_investor || @account.is_verified
|
||||
redis.publish('timeline:pro', @payload)
|
||||
end
|
||||
end
|
||||
|
||||
def lock_options
|
||||
{ redis: Redis.current, key: "distribute:#{@status.id}" }
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user