add: blocked users page
This commit is contained in:
parent
6893aeedb5
commit
3706764437
18 changed files with 427 additions and 178 deletions
|
@ -67,7 +67,7 @@ pub async fn app_request(
|
|||
Err(e) => return Err(Html(render_error(e, &jar, &data, &Some(user)).await)),
|
||||
};
|
||||
|
||||
if let Some(ref channel) = channels.get(0) {
|
||||
if let Some(channel) = channels.first() {
|
||||
return Ok(Html(format!(
|
||||
"<!doctype html><html><head><meta http-equiv=\"refresh\" content=\"0; url=/chats/{}/{}?nav={}\" /></head></html>",
|
||||
selected_community, channel.id, props.nav
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue