Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

recent_view: Fix right arrow not working on read DM rows.

Aman Agrawal9e0a3bebfd96
diff --git a/web/src/recent_view_ui.ts b/web/src/recent_view_ui.ts
index a773a9d0008..a5b7d42792c 100644
--- a/web/src/recent_view_ui.ts
+++ b/web/src/recent_view_ui.ts
@@ -1429,9 +1429,7 @@ function left_arrow_navigation(row: number, col: number): void {
}
function right_arrow_navigation(row: number, col: number): void {
- const type = get_row_type(row);
-
- if (type === "stream" && col === 1 && !has_unread(row)) {
+ if (col === 1 && !has_unread(row)) {
col_focus += 1;
}