mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 08:26:11 +00:00
@@ -572,6 +572,7 @@ function maybe_select_person(e) {
|
|||||||
if ((topPerson !== undefined) && (search_term !== '')) {
|
if ((topPerson !== undefined) && (search_term !== '')) {
|
||||||
// undefined if there are no results
|
// undefined if there are no results
|
||||||
var email = people.get_person_from_user_id(topPerson).email;
|
var email = people.get_person_from_user_id(topPerson).email;
|
||||||
|
narrow.by('pm-with', email, {select_first_unread: true, trigger: 'user sidebar'});
|
||||||
compose.start('private',
|
compose.start('private',
|
||||||
{trigger: 'sidebar enter key', private_message_recipient: email});
|
{trigger: 'sidebar enter key', private_message_recipient: email});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user