From a41b66ce08bf138503fdc621bb0264d21d5797ed Mon Sep 17 00:00:00 2001 From: default Date: Fri, 31 May 2024 09:18:59 +0200 Subject: [PATCH] Updated RELEASE_NOTES. --- RELEASE_NOTES.md | 2 +- mastoapi.c | 2 +- 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). Code cleaning: HTTP status codes use names instead of hardcoded integers (contributed by louis77). -Mastodon API: some fixes for Mona and Tokodon apps, user credentials can now be edited from apps (contributed by louis77). +Mastodon 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). The webfinger content-type response header is now RFC-compliant (contributed by steve-bate). 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) acct = xs_dict_append(acct, "url", snac.actor); acct = xs_dict_append(acct, "locked", xs_stock(XSTYPE_FALSE)); acct = xs_dict_append(acct, "bot", xs_dict_get(snac.config, "bot")); - acct = xs_dict_append(acct, "emojis", xs_list_new()); + acct = xs_dict_append(acct, "emojis", xs_stock(XSTYPE_LIST)); xs *src = xs_json_loads("{\"privacy\":\"public\", \"language\":\"en\"," "\"follow_requests_count\": 0,"