Browse Source

Another tweak to search.

Call webfinger_request_fake() for extreme cases.
grunfink 1 tháng trước cách đây
mục cha
commit
4414ed4d7d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      html.c

+ 1 - 1
html.c

@@ -4851,7 +4851,7 @@ int html_get_handler(const xs_dict *req, const char *q_path,
                         /* retry webfinger, this time with the 'official' id */
                         const char *id = xs_dict_get(object, "id");
 
-                        if (xs_is_string(id) && valid_status(webfinger_request(id, &actor_obj, &url_acct)) &&
+                        if (xs_is_string(id) && valid_status(webfinger_request_fake(id, &actor_obj, &url_acct)) &&
                             xs_is_string(url_acct))
                             q = url_acct;
                     }