narrow: Rename by_topic to narrow_by_topic.

This commit is contained in:
Aman Agrawal
2024-06-05 07:41:40 +00:00
committed by Tim Abbott
parent fecb9afa94
commit 48cdfd25f7
8 changed files with 9 additions and 9 deletions

View File

@@ -839,7 +839,7 @@ export function initialize_everything(state_data) {
compose_notifications.initialize({
on_click_scroll_to_selected: message_viewport.scroll_to_selected,
on_narrow_to_recipient(message_id) {
narrow.by_topic(message_id, {trigger: "compose_notification"});
narrow.narrow_by_topic(message_id, {trigger: "compose_notification"});
},
});
unread_ops.initialize();