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_recipient: Apply recipient IDs when switching to DM compose.

Pratik Chandaf515ca9bd304
diff --git a/web/src/compose_recipient.ts b/web/src/compose_recipient.ts
index fb226eeae8c..6fea73afb32 100644
--- a/web/src/compose_recipient.ts
+++ b/web/src/compose_recipient.ts
@@ -266,6 +266,7 @@ export function update_compose_for_message_type(opts: ComposeTriggeredOptions):
`<i class="zulip-icon zulip-icon-users channel-privacy-type-icon"></i>
<span class="decorated-dm-label">${direct_message_label}</span>`,
);
+ compose_state.set_private_message_recipient_ids(opts.private_message_recipient_ids);
}
compose_banner.clear_errors();
compose_banner.clear_warnings();