stream_data: Remove unused code branch.

This commit is contained in:
evykassirer
2024-04-03 20:23:37 -07:00
committed by Tim Abbott
parent 466560faa1
commit d05c7a64c8

View File

@@ -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);
}