Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into feature/removing_ruby_junk
This commit is contained in:
@@ -2,8 +2,16 @@
|
||||
|
||||
class FanOutOnWriteService < BaseService
|
||||
|
||||
# Push a status into home and mentions feeds
|
||||
# @param [Status] status
|
||||
def call(status)
|
||||
deliver_to_self(status) if status.account.local?
|
||||
raise GabSocial::RaceConditionError if status.visibility.nil?
|
||||
|
||||
if status.direct_visibility? || status.limited_visibility?
|
||||
#
|
||||
else
|
||||
deliver_to_self(status) if status.account.local?
|
||||
end
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user