summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'html.c')
-rw-r--r--html.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/html.c b/html.c
index 9e3412b..de054cb 100644
--- a/html.c
+++ b/html.c
@@ -367,6 +367,7 @@ d_char *build_mentions(snac *snac, char *msg)
367 367
368 if (type && strcmp(type, "Mention") == 0 && 368 if (type && strcmp(type, "Mention") == 0 &&
369 href && strcmp(href, snac->actor) != 0 && name) { 369 href && strcmp(href, snac->actor) != 0 && name) {
370 if (name[0] != '@') name = xs_str_cat(xs_str_new("@"), name);
370 xs *l = xs_split(name, "@"); 371 xs *l = xs_split(name, "@");
371 372
372 /* is it a name without a host? */ 373 /* is it a name without a host? */