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.

stream_data: Remove unused code branch.

evykassirerd05c7a64c833
diff --git a/web/src/stream_data.ts b/web/src/stream_data.ts
index 548d230410b..614bbadec3e 100644
--- a/web/src/stream_data.ts
+++ b/web/src/stream_data.ts
@@ -183,9 +183,6 @@ export function get_sub(stream_name: string): StreamSubscription | undefined {
}
export function get_sub_by_id(stream_id: number): StreamSubscription | undefined {
- if (!stream_id) {
- return undefined;
- }
return stream_info.get(stream_id);
}