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.

sub_store: Remove unused function `delete_sub`.

sanchi-tf257188ab514
diff --git a/web/src/sub_store.ts b/web/src/sub_store.ts
index 4a7d388ef49..9479f702a70 100644
--- a/web/src/sub_store.ts
+++ b/web/src/sub_store.ts
@@ -60,10 +60,6 @@ export function clear(): void {
subs_by_stream_id.clear();
}
-export function delete_sub(stream_id: number): void {
- subs_by_stream_id.delete(stream_id);
-}
-
export function add_hydrated_sub(stream_id: number, sub: StreamSubscription): void {
// The only code that should call this directly is
// in stream_data.js. Grep there to find callers.