mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-14 09:35:04 +00:00
More or less smaller fixes :)
This commit is contained in:
parent
8fc788e92c
commit
25ef07b1ec
4 changed files with 4 additions and 3 deletions
2
Makefile
2
Makefile
|
@ -52,7 +52,7 @@ mastoapi.o: mastoapi.c xs.h xs_hex.h xs_openssl.h xs_json.h xs_io.h \
|
|||
snac.o: snac.c xs.h xs_hex.h xs_io.h xs_unicode.h xs_json.h xs_curl.h \
|
||||
xs_openssl.h xs_socket.h xs_url.h xs_httpd.h xs_mime.h xs_regex.h \
|
||||
xs_set.h xs_time.h xs_glob.h xs_random.h xs_match.h xs_fcgi.h xs_html.h \
|
||||
snac.h
|
||||
snac.h http_codes.h
|
||||
upgrade.o: upgrade.c xs.h xs_io.h xs_json.h xs_glob.h snac.h
|
||||
utils.o: utils.c xs.h xs_io.h xs_json.h xs_time.h xs_openssl.h \
|
||||
xs_random.h xs_glob.h xs_curl.h xs_regex.h snac.h
|
||||
|
|
|
@ -1466,6 +1466,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
|
|||
/* we don't serve statuses of others; return the empty list */
|
||||
out = xs_list_new();
|
||||
}
|
||||
else
|
||||
if (strcmp(opt, "featured_tags") == 0) {
|
||||
/* snac doesn't have features tags, yet? */
|
||||
/* implement empty response so apps like Tokodon don't show an error */
|
||||
|
|
Loading…
Reference in a new issue