Keep the compose box open on a buddy list-initiative PM.

(imported from commit aabfec328a3c1b64aab653ddcbe04568f5742727)
This commit is contained in:
Jessica McKellar 2013-07-08 16:35:27 -04:00
parent 0e28fd608c
commit dd53c1fbe3
1 changed files with 1 additions and 0 deletions

View File

@ -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