From 764178fb347375fb151d953f06329e560d5ad6a9 Mon Sep 17 00:00:00 2001 From: default Date: Wed, 2 Nov 2022 04:53:50 +0100 Subject: [PATCH] Added the @user@host id in the HTML title. --- html.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/html.c b/html.c index ef829f9..dc5ee19 100644 --- a/html.c +++ b/html.c @@ -155,7 +155,11 @@ d_char *html_user_header(snac *snac, d_char *s, int local) } { - xs *s1 = xs_fmt("%s\n", xs_dict_get(snac->config, "name")); + xs *s1 = xs_fmt("%s (@%s@%s)\n", + xs_dict_get(snac->config, "name"), + snac->uid, + xs_dict_get(srv_config, "host")); + s = xs_str_cat(s, s1); }