diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-08-07 10:01:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-07 10:01:19 +0200 |
commit | 5e35aa82802b09a63d4625fa9c1837ad75178553 (patch) | |
tree | 03ed315a9ca8e4a722d5cc46db0260e0c22d339a /app/services/remove_status_service.rb | |
parent | a8958d07e222f2aa6867e8a5bf93cce4535fd3ce (diff) |
Fix non-lowercase hashtags not being picked up by the streaming API (#11508)
Regression from f371b32 Fix hashtag links always being lowercase
Diffstat (limited to 'app/services/remove_status_service.rb')
-rw-r--r-- | app/services/remove_status_service.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/remove_status_service.rb b/app/services/remove_status_service.rb index a69fce8b8..91c934181 100644 --- a/app/services/remove_status_service.rb +++ b/app/services/remove_status_service.rb @@ -124,8 +124,8 @@ class RemoveStatusService < BaseService return unless @status.public_visibility? @tags.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 |