mirror of https://github.com/zulip/zulip.git
Keep the compose box open on a buddy list-initiative PM.
(imported from commit aabfec328a3c1b64aab653ddcbe04568f5742727)
This commit is contained in:
parent
0e28fd608c
commit
dd53c1fbe3
|
@ -1225,6 +1225,7 @@ $(function () {
|
|||
$('#user_presences').on('click', 'a', function (e) {
|
||||
var email = $(e.target).closest('a').attr('data-email');
|
||||
narrow.by('pm-with', email, {trigger: 'presence list'});
|
||||
respond_to_sent_message = true;
|
||||
compose.start('private', {private_message_recipient: email,
|
||||
trigger: 'presence list'});
|
||||
// The preventDefault is necessary so that clicking the
|
||||
|
|
Loading…
Reference in New Issue