mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 08:26:11 +00:00
narrow: Remove unnecessary select_first_unread option.
We consistently either pass a `then_select_id` into narrow.activate, or were using the select_first_unread option. Now, we just compute select_first_unread based on the value of then_select_id.
This commit is contained in:
@@ -267,7 +267,7 @@ function process_notification(notification) {
|
||||
var msg_count = 1;
|
||||
var notification_source;
|
||||
var raw_operators = [];
|
||||
var opts = {select_first_unread: true, trigger: "notification click"};
|
||||
var opts = {trigger: "notification click"};
|
||||
// Convert the content to plain text, replacing emoji with their alt text
|
||||
content = $('<div/>').html(message.content);
|
||||
ui.replace_emoji_with_text(content);
|
||||
|
||||
Reference in New Issue
Block a user