From 7deb3e9f7a20220fe1a99f286f647c88c3c1f7f0 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Fri, 3 Mar 2023 21:48:58 +0100 Subject: [PATCH] DEV: removes dead code --- plugins/chat/app/services/chat_publisher.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/plugins/chat/app/services/chat_publisher.rb b/plugins/chat/app/services/chat_publisher.rb index 25c27d08960c2..0778b655da185 100644 --- a/plugins/chat/app/services/chat_publisher.rb +++ b/plugins/chat/app/services/chat_publisher.rb @@ -70,11 +70,6 @@ def self.publish_reaction!(chat_channel, chat_message, action, user, emoji) type: :reaction, chat_message_id: chat_message.id, } - MessageBus.publish( - "/chat/message-reactions/#{chat_message.id}", - content.as_json, - permissions(chat_channel), - ) MessageBus.publish("/chat/#{chat_channel.id}", content.as_json, permissions(chat_channel)) end