mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 17:07:07 +00:00
stream_data: Remove unused code branch.
This commit is contained in:
@@ -183,9 +183,6 @@ export function get_sub(stream_name: string): StreamSubscription | undefined {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function get_sub_by_id(stream_id: number): StreamSubscription | undefined {
|
export function get_sub_by_id(stream_id: number): StreamSubscription | undefined {
|
||||||
if (!stream_id) {
|
|
||||||
return undefined;
|
|
||||||
}
|
|
||||||
return stream_info.get(stream_id);
|
return stream_info.get(stream_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user