commit 4414ed4

grunfink  ·  2026-06-08 16:36:32 +0000 UTC
parent a4bbb84
Another tweak to search.

Call webfinger_request_fake() for extreme cases.
1 files changed,  +1, -1
M html.c
M html.c
+1, -1
1@@ -4851,7 +4851,7 @@ int html_get_handler(const xs_dict *req, const char *q_path,
2                         /* retry webfinger, this time with the 'official' id */
3                         const char *id = xs_dict_get(object, "id");
4 
5-                        if (xs_is_string(id) && valid_status(webfinger_request(id, &actor_obj, &url_acct)) &&
6+                        if (xs_is_string(id) && valid_status(webfinger_request_fake(id, &actor_obj, &url_acct)) &&
7                             xs_is_string(url_acct))
8                             q = url_acct;
9                     }