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.

unread_ops: Remove unused bulk_update_read_flags_for_narrow arguments.

Anders Kaseorg0cbc6cb82b93
diff --git a/web/src/unread_ops.js b/web/src/unread_ops.js
index cedef3d5d6e..0d8336cd613 100644
--- a/web/src/unread_ops.js
+++ b/web/src/unread_ops.js
@@ -531,9 +531,6 @@ export function mark_stream_as_read(stream_id) {
{operator: "channel", operand: stream_id},
],
"add",
- {
- stream_id,
- },
);
}
@@ -545,10 +542,6 @@ export function mark_topic_as_read(stream_id, topic) {
{operator: "topic", operand: topic},
],
"add",
- {
- stream_id,
- topic,
- },
);
}
@@ -559,10 +552,6 @@ export function mark_topic_as_unread(stream_id, topic) {
{operator: "topic", operand: topic},
],
"remove",
- {
- stream_id,
- topic,
- },
);
}