DEV: removes dead code (#20529)

This commit is contained in:
Joffrey JAFFEUX
2023-03-03 22:07:40 +01:00
committed by GitHub
parent 26f77f03d5
commit 1c9f300896

View File

@ -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