Fix Trac #1511, compose focus when narrowed to PMs

(imported from commit a8fd2f018b6082599524d039826821d2337a6186)
This commit is contained in:
Scott Feeney
2013-07-15 18:45:38 -04:00
parent 3395ac2fb1
commit bd63fdf81c

View File

@@ -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';
} }