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.

quote_messages: Cache raw_content after fetching it.

apoorvapendsef86222af0d0f
diff --git a/web/src/compose_reply.ts b/web/src/compose_reply.ts
index 202bf9e478a..88f202b5170 100644
--- a/web/src/compose_reply.ts
+++ b/web/src/compose_reply.ts
@@ -328,6 +328,7 @@ export function quote_message(opts: {
success(raw_data) {
const data = single_message_content_schema.parse(raw_data);
assert(data.message.content_type === "text/x-markdown");
+ message.raw_content = data.message.content;
replace_content(message, data.message.content);
},
// We set a timeout here to trigger usage of the fallback markdown via the