diff options
author | Shel R <Yiskah.Raphen@gmail.com> | 2017-04-07 22:43:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-07 22:43:13 -0400 |
commit | 38c51309300790e0f4a3fed0ede387c1765633a6 (patch) | |
tree | 5fc14c684d9ee4b21eb7710c491b3573df6e0034 /app/services/remove_status_service.rb | |
parent | b5d87500d2600eb8a0a56b0caeca5c7be388df19 (diff) | |
parent | ee8af9083ae83c6c642fa00aff040fb971f13470 (diff) |
Merge branch 'master' into master
Diffstat (limited to 'app/services/remove_status_service.rb')
-rw-r--r-- | app/services/remove_status_service.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/services/remove_status_service.rb b/app/services/remove_status_service.rb index 60ce9987c..50bb7fc97 100644 --- a/app/services/remove_status_service.rb +++ b/app/services/remove_status_service.rb @@ -70,14 +70,14 @@ class RemoveStatusService < BaseService def remove_from_hashtags(status) status.tags.pluck(:name) do |hashtag| - Redis.current.publish("hashtag:#{hashtag}", @payload) - Redis.current.publish("hashtag:#{hashtag}:local", @payload) if status.local? + Redis.current.publish("timeline:hashtag:#{hashtag}", @payload) + Redis.current.publish("timeline:hashtag:#{hashtag}:local", @payload) if status.local? end end def remove_from_public(status) - Redis.current.publish('public', @payload) - Redis.current.publish('public:local', @payload) if status.local? + Redis.current.publish('timeline:public', @payload) + Redis.current.publish('timeline:public:local', @payload) if status.local? end def redis |