mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 17:07:07 +00:00
Rename message content option to compose.start to content.
(imported from commit 4d609e6f6915af4474955b054d834efaba4327b9)
This commit is contained in:
@@ -183,8 +183,8 @@ exports.start = function (msg_type, opts) {
|
||||
compose.recipient(opts.private_message_recipient);
|
||||
// If the user opens the compose box, types some text, and then clicks on a
|
||||
// different stream/subject, we want to keep the text in the compose box
|
||||
if (opts.message !== undefined) {
|
||||
compose.message_content(opts.message);
|
||||
if (opts.content !== undefined) {
|
||||
compose.message_content(opts.content);
|
||||
}
|
||||
|
||||
ui.change_tab_to("#home");
|
||||
|
||||
Reference in New Issue
Block a user