diff options
author | Paul Wilde <psw@wildefedi01.wildenet.wilde.cloud> | 2024-01-28 21:04:11 +0000 |
---|---|---|
committer | Paul Wilde <psw@wildefedi01.wildenet.wilde.cloud> | 2024-01-28 21:04:11 +0000 |
commit | 9568ec8bfede731d2ecdc5840e3a8a125fc31510 (patch) | |
tree | f06a7cef6e8b485a9a4ed26880ac5b310536a085 /mastoapi.c | |
parent | 376d849e8b69196b27f4794f1e2ca8a7866a97b1 (diff) |
cleanup
Diffstat (limited to 'mastoapi.c')
-rw-r--r-- | mastoapi.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1414,6 +1414,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path, const char *type = xs_dict_get(msg, "type"); if (!xs_match(type, "Note|Question|Page|Article")) continue; + const char *from = NULL; if (strcmp(type, "Page") == 0) from = xs_dict_get(msg, "audience"); |