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:
parent
6e26475062
commit
2f486ebaf5
2 changed files with 169 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue