aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2025-02-14 09:25:57 +0100
committerdefault <nobody@localhost>2025-02-14 09:25:57 +0100
commitbf9d8cb202b625b277b775ee5dd0d6a4de336040 (patch)
tree3c00012234e8d47efa9351464af47433a80f1e29
parentfc6a975f7b26aaa12136769be20b23a9f67e5a91 (diff)
More variable renaming.
-rw-r--r--html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/html.c b/html.c
index 78a7d32..09a078b 100644
--- a/html.c
+++ b/html.c
@@ -1502,7 +1502,7 @@ static xs_html *html_button(char *clss, char *label, char *hint)
}
-xs_str *build_mentions(snac *snac, const xs_dict *msg)
+xs_str *build_mentions(snac *user, const xs_dict *msg)
/* returns a string with the mentions in msg */
{
xs_str *s = xs_str_new(NULL);
@@ -1516,7 +1516,7 @@ xs_str *build_mentions(snac *snac, const xs_dict *msg)
const char *name = xs_dict_get(v, "name");
if (type && strcmp(type, "Mention") == 0 &&
- href && strcmp(href, snac->actor) != 0 && name) {
+ href && strcmp(href, user->actor) != 0 && name) {
xs *s1 = NULL;
if (name[0] != '@') {