mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-24 00:23:38 +00:00
Added the @user@host id in the HTML title.
This commit is contained in:
parent
34a2b47e85
commit
764178fb34
1 changed files with 5 additions and 1 deletions
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 a new issue