diff options
author | Shel R <Yiskah.Raphen@gmail.com> | 2017-04-07 22:21:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-07 22:21:21 -0400 |
commit | fef478781d1033ba045806945f84cbab1bdb0007 (patch) | |
tree | cf99ed9130e2226f13e52f87dc7bbe8a9b464ee2 /app/services/notify_service.rb | |
parent | bf7cefa516075b480fd5da5ea4b1385d7d17bdd5 (diff) | |
parent | c1a553d2c274941f38cc299699dfae1f60559e67 (diff) |
Merge branch 'master' into master
Diffstat (limited to 'app/services/notify_service.rb')
-rw-r--r-- | app/services/notify_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/notify_service.rb b/app/services/notify_service.rb index 62508a049..ffeee5fcf 100644 --- a/app/services/notify_service.rb +++ b/app/services/notify_service.rb @@ -50,7 +50,7 @@ class NotifyService < BaseService def create_notification @notification.save! return unless @notification.browserable? - Redis.current.publish(@recipient.id, Oj.dump(event: :notification, payload: InlineRenderer.render(@notification, @recipient, 'api/v1/notifications/show'))) + Redis.current.publish("timeline:#{@recipient.id}", Oj.dump(event: :notification, payload: InlineRenderer.render(@notification, @recipient, 'api/v1/notifications/show'))) end def send_email |