Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

compose_reply: Extract quote_single_message.

apoorvapendse28b0ab4b4c08
diff --git a/web/src/compose_reply.ts b/web/src/compose_reply.ts
index 8ff61454247..4468ce123e3 100644
--- a/web/src/compose_reply.ts
+++ b/web/src/compose_reply.ts
@@ -396,6 +396,10 @@ function replace_content(message: Message, raw_content: string, forward_message?
}
export function quote_message(opts: QuoteMessageOpts): void {
+ quote_single_message(opts);
+}
+
+function quote_single_message(opts: QuoteMessageOpts): void {
const {message_id, message, quote_content} = get_quote_target_for_single_message(opts);
if (opts.forward_message) {