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: Set flag that recipient was changed when stream is selected.

evykassirer4cbcd6675307
diff --git a/web/src/compose_recipient.ts b/web/src/compose_recipient.ts
index 446b4deb120..12f419677c0 100644
--- a/web/src/compose_recipient.ts
+++ b/web/src/compose_recipient.ts
@@ -246,6 +246,7 @@ function item_click_callback(event: JQuery.ClickEvent, dropdown: tippy.Instance)
recipient_id = Number.parseInt(recipient_id, 10);
}
compose_state.set_selected_recipient_id(recipient_id);
+ compose_state.set_recipient_edited_manually(true);
on_compose_select_recipient_update();
dropdown.hide();
event.preventDefault();