mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-25 14:35:04 +00:00
Set the 'bot' field in verify_credentials to the matching value.
This commit is contained in:
parent
285fb589ff
commit
eaeb776446
1 changed files with 1 additions and 2 deletions
|
@ -1124,8 +1124,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
|
|||
acct = xs_dict_append(acct, "header", "");
|
||||
acct = xs_dict_append(acct, "header_static", "");
|
||||
acct = xs_dict_append(acct, "locked", xs_stock_false);
|
||||
// FIXME: check value of "type" to set this correctly?
|
||||
acct = xs_dict_append(acct, "bot", xs_stock_false);
|
||||
acct = xs_dict_append(acct, "bot", xs_dict_get(snac1.config, "bot"));
|
||||
|
||||
xs *src = xs_json_loads("{\"privacy\":\"public\","
|
||||
"\"sensitive\":false,\"fields\":[],\"note\":\"\"}");
|
||||
|
|
Loading…
Reference in a new issue