mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-09 19:50:26 +03:00
Added the @user@host id in the HTML title.
This commit is contained in:
parent
34a2b47e85
commit
764178fb34
6
html.c
6
html.c
@ -155,7 +155,11 @@ d_char *html_user_header(snac *snac, d_char *s, int local)
|
||||
}
|
||||
|
||||
{
|
||||
xs *s1 = xs_fmt("<title>%s</title>\n", xs_dict_get(snac->config, "name"));
|
||||
xs *s1 = xs_fmt("<title>%s (@%s@%s)</title>\n",
|
||||
xs_dict_get(snac->config, "name"),
|
||||
snac->uid,
|
||||
xs_dict_get(srv_config, "host"));
|
||||
|
||||
s = xs_str_cat(s, s1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user