diff --git a/html.c b/html.c
index 1b0e7c7..79b833a 100644
--- a/html.c
+++ b/html.c
@@ -459,8 +459,19 @@ xs_str *html_user_header(snac *snac, xs_str *s, int local)
/* user info */
{
- char *_tmpl =
- "
\n"
+ s = xs_str_cat(s, "
\n");
+
+ if (local) {
+ const char *header = xs_dict_get(snac->config, "header");
+ if (header && *header) {
+ xs *h = encode_html(header);
+ xs *s1 = xs_fmt("
"
+ "
\n", h);
+ s = xs_str_cat(s, s1);
+ }
+ }
+
+ const char *_tmpl =
"
%s
\n"
"
@%s@%s
\n";