A platform for community discussion. Free, open, simple.
DEV: Add missing in_reply_to_id to sendChatMessage chat plugin API (#35365)
Martin Brennane4b2c51f6a5e
diff --git a/plugins/chat/assets/javascripts/discourse/pre-initializers/chat-plugin-api.js b/plugins/chat/assets/javascripts/discourse/pre-initializers/chat-plugin-api.jsindex 71095f2da65..d8f27bbc7fd 100644--- a/plugins/chat/assets/javascripts/discourse/pre-initializers/chat-plugin-api.js+++ b/plugins/chat/assets/javascripts/discourse/pre-initializers/chat-plugin-api.js@@ -103,6 +103,7 @@ import { addChatDrawerStateCallback } from "discourse/plugins/chat/discourse/ser* @param {string} [options.message] - The content of the message to send* @param {string} [options.uploads] - A list of uploads to send* @param {number} [options.threadId] - The thread id where the message should be sent+ * @param {number} [options.inReplyToId] - The ID of the replied to message** @example*@@ -163,6 +164,7 @@ export default {.lookup("service:chat-api").sendMessage(channelId, {thread_id: options.threadId,+ in_reply_to_id: options.inReplyToId,post_ids: options.postIds,topic_id: options.topicId,message: options.message,