TEST Removing all streaming for now 2

TEST

• Removing:
- all streaming for now 2 (from server side)
This commit is contained in:
mgabdev
2021-01-15 20:42:04 -05:00
parent 8313f4b11d
commit 574b45e04b
5 changed files with 10 additions and 10 deletions

View File

@@ -60,10 +60,10 @@ class PostChatMessageService < BaseService
recipient.is_hidden = false
# check if muting
unless recipient.is_muted
payload = InlineRenderer.render(@chat, recipient.account, :chat_message)
Redis.current.publish("chat_messages:#{recipient.account.id}", Oj.dump(event: :notification, payload: payload))
end
# unless recipient.is_muted
# payload = InlineRenderer.render(@chat, recipient.account, :chat_message)
# Redis.current.publish("chat_messages:#{recipient.account.id}", Oj.dump(event: :notification, payload: payload))
# end
end
else
recipient.unread_count = 0