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