Fix non-lowercase hashtags not being picked up by the streaming API (#11508)
Regression from f371b32
Fix hashtag links always being lowercase
This commit is contained in:
parent
a8958d07e2
commit
5e35aa8280
5 changed files with 8 additions and 8 deletions
|
@ -80,8 +80,8 @@ class BatchedRemoveStatusService < BaseService
|
|||
end
|
||||
|
||||
@tags[status.id].each do |hashtag|
|
||||
redis.publish("timeline:hashtag:#{hashtag}", payload)
|
||||
redis.publish("timeline:hashtag:#{hashtag}:local", payload) if status.local?
|
||||
redis.publish("timeline:hashtag:#{hashtag.mb_chars.downcase}", payload)
|
||||
redis.publish("timeline:hashtag:#{hashtag.mb_chars.downcase}:local", payload) if status.local?
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue