Skip to content

A platform for community discussion. Free, open, simple.

DEV: removes dead code (#20529)

Joffrey JAFFEUX1c9f300896b0
diff --git a/plugins/chat/app/services/chat_publisher.rb b/plugins/chat/app/services/chat_publisher.rb
index 25c27d08960..0778b655da1 100644
--- a/plugins/chat/app/services/chat_publisher.rb
+++ b/plugins/chat/app/services/chat_publisher.rb
@@ -70,11 +70,6 @@ module ChatPublisher
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