summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2024-05-31 09:18:59 +0200
committerGravatar default2024-05-31 09:18:59 +0200
commita41b66ce08bf138503fdc621bb0264d21d5797ed (patch)
tree56d85aefbe9a8ca1c003baa294b2912e6cb47ca9
parentMerge pull request 'Fix login issues with Mastodon, IceCube, Toot! on iOS' (#... (diff)
downloadpenes-snac2-a41b66ce08bf138503fdc621bb0264d21d5797ed.tar.gz
penes-snac2-a41b66ce08bf138503fdc621bb0264d21d5797ed.tar.xz
penes-snac2-a41b66ce08bf138503fdc621bb0264d21d5797ed.zip
Updated RELEASE_NOTES.
-rw-r--r--RELEASE_NOTES.md2
-rw-r--r--mastoapi.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index b0d37f4..e3cefa4 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -10,7 +10,7 @@ The avatar and/or the header images can now be deleted (contributed by louis77).
10 10
11Code cleaning: HTTP status codes use names instead of hardcoded integers (contributed by louis77). 11Code cleaning: HTTP status codes use names instead of hardcoded integers (contributed by louis77).
12 12
13Mastodon API: some fixes for Mona and Tokodon apps, user credentials can now be edited from apps (contributed by louis77). 13Mastodon API: fixed login problems with the official Mastodon API, IceCube and Toot! on iOS, some fixes for Mona and Tokodon apps, user credentials can now be edited from apps (contributed by louis77).
14 14
15The webfinger content-type response header is now RFC-compliant (contributed by steve-bate). 15The webfinger content-type response header is now RFC-compliant (contributed by steve-bate).
16 16
diff --git a/mastoapi.c b/mastoapi.c
index 1bd0daa..ab94927 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -1161,7 +1161,7 @@ void credentials_get(char **body, char **ctype, int *status, snac snac)
1161 acct = xs_dict_append(acct, "url", snac.actor); 1161 acct = xs_dict_append(acct, "url", snac.actor);
1162 acct = xs_dict_append(acct, "locked", xs_stock(XSTYPE_FALSE)); 1162 acct = xs_dict_append(acct, "locked", xs_stock(XSTYPE_FALSE));
1163 acct = xs_dict_append(acct, "bot", xs_dict_get(snac.config, "bot")); 1163 acct = xs_dict_append(acct, "bot", xs_dict_get(snac.config, "bot"));
1164 acct = xs_dict_append(acct, "emojis", xs_list_new()); 1164 acct = xs_dict_append(acct, "emojis", xs_stock(XSTYPE_LIST));
1165 1165
1166 xs *src = xs_json_loads("{\"privacy\":\"public\", \"language\":\"en\"," 1166 xs *src = xs_json_loads("{\"privacy\":\"public\", \"language\":\"en\","
1167 "\"follow_requests_count\": 0," 1167 "\"follow_requests_count\": 0,"