mirror of https://github.com/zulip/zulip.git
internal_url: Remove obsolete TODO comment.
zulip-mobile currently requires Android ≥ 7 and iOS ≥ 14, both of
which support replaceAll. The code change was in commit
54f90e41c0
(#25554).
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
47c107faa5
commit
a3d6c47b7d
|
@ -28,9 +28,6 @@ export function stream_id_to_slug(stream_id, maybe_get_stream_name) {
|
|||
|
||||
// The name part of the URL doesn't really matter, so we try to
|
||||
// make it pretty.
|
||||
|
||||
// TODO: Convert this to replaceAll once mobile no longer supports
|
||||
// browsers that don't have it.
|
||||
name = name.replaceAll(" ", "-");
|
||||
|
||||
return stream_id + "-" + name;
|
||||
|
|
Loading…
Reference in New Issue