mirror of
https://github.com/discourse/discourse-chat-integration.git
synced 2025-03-05 17:29:07 +00:00
Discourse is able to share topics and replies to normal Discord channels, but it doesn't work with forum channels, which require an additional `thread_name` parameter. This change fixes the issue by checking for the specific error the Discord returns when trying to share to a forum channel, adding the `thread_name`, then trying again. This is intentionally a minimal fix, additional work would be required to make the sharing more closely fit the style of Discord forum channels.
Chat Integration Plugin
Integrate your chat system of choice with Discourse.
For more information, please see: https://meta.discourse.org/t/chatroom-integration-plugin-discourse-chat-integration/66522
Description
Languages
Ruby
89.4%
JavaScript
5.8%
Handlebars
4.2%
SCSS
0.6%