Fix stray glitch-soc-only use of Oj gem

This commit is contained in:
Claire
2026-03-18 12:02:13 +01:00
parent 2b0531914f
commit b305b3b2db

View File

@@ -142,7 +142,7 @@ class FeedManager
def unpush_from_direct(account, status, update: false)
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
end