mirror of
https://git.checksum.fail/alec/slon.git
synced 2025-12-08 12:09:55 +02:00
Slon/Api/V2/Search: Do WebFinger lookup and create local profile when searching for a remote user that is unknown to the server
This commit is contained in:
@@ -21,6 +21,13 @@
|
||||
Free(request_json_str);
|
||||
|
||||
JsonObject* SLON_HTTP_STATUS_CODES = Json.ParseFile("M:/Slon/Settings/status_codes.json");
|
||||
JsonArray* SLON_TLDS = Json.ParseFile("M:/Slon/Settings/tlds.json");
|
||||
|
||||
I64 tld_cnt = 0;
|
||||
U8** tld_array = CAlloc(sizeof(U8*) * SLON_TLDS->length);
|
||||
for (tld_cnt = 0; tld_cnt < SLON_TLDS->length; tld_cnt++) {
|
||||
tld_array[tld_cnt] = SLON_TLDS->@(tld_cnt);
|
||||
}
|
||||
|
||||
class SlonHttpBuffer {
|
||||
U8* data;
|
||||
|
||||
Reference in New Issue
Block a user