pm_list: Rename handle_narrow_deactivated.

It did the same thing as handle_narrow_activated when passed the
home_msg_list filter.

We still leave a renamed version for use by the inbox/recent views.
This commit is contained in:
Tim Abbott
2023-10-03 18:05:27 -07:00
parent 0a189119aa
commit 3d804ef186
4 changed files with 4 additions and 7 deletions

View File

@@ -170,7 +170,7 @@ export function handle_narrow_activated(filter) {
}
}
export function handle_narrow_deactivated() {
export function handle_message_view_deactivated() {
// Since one can renarrow via the keyboard shortcut or similar, we
// avoid disturbing the zoomed state here.
unhighlight_all_private_messages_view();