Remove deprecated mb_chars method (#34039)
This commit is contained in:
parent
43f616a1c8
commit
d90d68bddf
11 changed files with 69 additions and 11 deletions
|
|
@ -128,8 +128,8 @@ class FanOutOnWriteService < BaseService
|
|||
|
||||
def broadcast_to_hashtag_streams!
|
||||
@status.tags.map(&:name).each do |hashtag|
|
||||
redis.publish("timeline:hashtag:#{hashtag.mb_chars.downcase}", anonymous_payload)
|
||||
redis.publish("timeline:hashtag:#{hashtag.mb_chars.downcase}:local", anonymous_payload) if @status.local?
|
||||
redis.publish("timeline:hashtag:#{hashtag.downcase}", anonymous_payload)
|
||||
redis.publish("timeline:hashtag:#{hashtag.downcase}:local", anonymous_payload) if @status.local?
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue