commit 11ba44f
default
·
2023-01-13 06:12:19 +0000 UTC
parent e58eb06
Some mention formatting tweaks.
1 files changed,
+2,
-1
+2,
-1
1@@ -277,11 +277,12 @@ void process_tags(snac *snac, const char *content, d_char **n_content, d_char **
2 if ((n & 0x1)) {
3 if (*v == '@') {
4 /* query the webfinger about this fellow */
5+ xs *v2 = xs_strip_chars_i(xs_dup(v), "@.");
6 xs *actor = NULL;
7 xs *uid = NULL;
8 int status;
9
10- status = webfinger_request(v + 1, &actor, &uid);
11+ status = webfinger_request(v2, &actor, &uid);
12
13 if (valid_status(status)) {
14 xs *d = xs_dict_new();