mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 00:46:03 +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 {
|
||||
if (!stream_id) {
|
||||
return undefined;
|
||||
}
|
||||
return stream_info.get(stream_id);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user