mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 09:27:43 +00:00
Fix Trac #1511, compose focus when narrowed to PMs
(imported from commit a8fd2f018b6082599524d039826821d2337a6186)
This commit is contained in:
@@ -230,7 +230,7 @@ exports.start = function (msg_type, opts) {
|
|||||||
if (msg_type === 'stream' && opts.stream && ! opts.subject) {
|
if (msg_type === 'stream' && opts.stream && ! opts.subject) {
|
||||||
focus_area = 'subject';
|
focus_area = 'subject';
|
||||||
} else if ((msg_type === 'stream' && opts.stream)
|
} else if ((msg_type === 'stream' && opts.stream)
|
||||||
|| opts.private_message_recipient) {
|
|| (msg_type === 'private' && opts.private_message_recipient)) {
|
||||||
focus_area = 'new_message_content';
|
focus_area = 'new_message_content';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user