diff options
| author | 2025-02-14 09:25:57 +0100 | |
|---|---|---|
| committer | 2025-02-14 09:25:57 +0100 | |
| commit | bf9d8cb202b625b277b775ee5dd0d6a4de336040 (patch) | |
| tree | 3c00012234e8d47efa9351464af47433a80f1e29 | |
| parent | More variable renaming. (diff) | |
| download | snac2-bf9d8cb202b625b277b775ee5dd0d6a4de336040.tar.gz snac2-bf9d8cb202b625b277b775ee5dd0d6a4de336040.tar.xz snac2-bf9d8cb202b625b277b775ee5dd0d6a4de336040.zip | |
More variable renaming.
| -rw-r--r-- | html.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1502,7 +1502,7 @@ static xs_html *html_button(char *clss, char *label, char *hint) | |||
| 1502 | } | 1502 | } |
| 1503 | 1503 | ||
| 1504 | 1504 | ||
| 1505 | xs_str *build_mentions(snac *snac, const xs_dict *msg) | 1505 | xs_str *build_mentions(snac *user, const xs_dict *msg) |
| 1506 | /* returns a string with the mentions in msg */ | 1506 | /* returns a string with the mentions in msg */ |
| 1507 | { | 1507 | { |
| 1508 | xs_str *s = xs_str_new(NULL); | 1508 | xs_str *s = xs_str_new(NULL); |
| @@ -1516,7 +1516,7 @@ xs_str *build_mentions(snac *snac, const xs_dict *msg) | |||
| 1516 | const char *name = xs_dict_get(v, "name"); | 1516 | const char *name = xs_dict_get(v, "name"); |
| 1517 | 1517 | ||
| 1518 | if (type && strcmp(type, "Mention") == 0 && | 1518 | if (type && strcmp(type, "Mention") == 0 && |
| 1519 | href && strcmp(href, snac->actor) != 0 && name) { | 1519 | href && strcmp(href, user->actor) != 0 && name) { |
| 1520 | xs *s1 = NULL; | 1520 | xs *s1 = NULL; |
| 1521 | 1521 | ||
| 1522 | if (name[0] != '@') { | 1522 | if (name[0] != '@') { |