Fix stray glitch-soc-only use of Oj gem
This commit is contained in:
parent
2b0531914f
commit
b305b3b2db
@ -142,7 +142,7 @@ class FeedManager
|
|||||||
def unpush_from_direct(account, status, update: false)
|
def unpush_from_direct(account, status, update: false)
|
||||||
return false unless remove_from_feed(:direct, account.id, status)
|
return false unless remove_from_feed(:direct, account.id, status)
|
||||||
|
|
||||||
redis.publish("timeline:direct:#{account.id}", Oj.dump(event: :delete, payload: status.id.to_s)) unless update
|
redis.publish("timeline:direct:#{account.id}", { event: :delete, payload: status.id.to_s }.to_json) unless update
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user