remove # from internal room ID list

internal room IDs do not have #, they start with !

Signed-off-by: strawberry <june@girlboss.ceo>
This commit is contained in:
strawberry 2023-11-27 01:35:30 -05:00
parent e2ec2a98ba
commit b06ed1b92f

View file

@ -944,7 +944,7 @@ impl Service {
|mut output, (alias, id)| { |mut output, (alias, id)| {
writeln!( writeln!(
output, output,
"- `#{}` -> #{}:{}", "- `{}` -> #{}:{}",
alias, id, server_name alias, id, server_name
) )
.unwrap(); .unwrap();
@ -957,7 +957,7 @@ impl Service {
|mut output, (alias, id)| { |mut output, (alias, id)| {
writeln!( writeln!(
output, output,
"<li><code>#{}</code> -> #{}:{}</li>", "<li><code>{}</code> -> #{}:{}</li>",
escape_html(alias.as_ref()), escape_html(alias.as_ref()),
escape_html(id.as_ref()), escape_html(id.as_ref()),
server_name server_name