diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-10 00:47:47 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-10 00:47:47 +0100 |
commit | bf5f55a6bbfee69e41acfcd14002308c69d8b68c (patch) | |
tree | 9261287b4c47c3a88c7c30a5e355b50ae9cfa9fe /app/services | |
parent | aabf884c5f6bf5c0a7cdec2c3e4fe174eeecfaec (diff) |
Fix live status removal from public/hashtag channels
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/fan_out_on_write_service.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/fan_out_on_write_service.rb b/app/services/fan_out_on_write_service.rb index 4f8777a50..43e36c138 100644 --- a/app/services/fan_out_on_write_service.rb +++ b/app/services/fan_out_on_write_service.rb @@ -42,12 +42,12 @@ class FanOutOnWriteService < BaseService Rails.logger.debug "Delivering status #{status.id} to hashtags" status.tags.find_each do |tag| - FeedManager.instance.broadcast("hashtag:#{tag.name}", id: status.id) + FeedManager.instance.broadcast("hashtag:#{tag.name}", type: 'update', id: status.id) end end def deliver_to_public(status) Rails.logger.debug "Delivering status #{status.id} to public timeline" - FeedManager.instance.broadcast(:public, id: status.id) + FeedManager.instance.broadcast(:public, type: 'update', id: status.id) end end |