diff options
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, | |||
| 1414 | const char *type = xs_dict_get(msg, "type"); | 1414 | const char *type = xs_dict_get(msg, "type"); |
| 1415 | if (!xs_match(type, "Note|Question|Page|Article")) | 1415 | if (!xs_match(type, "Note|Question|Page|Article")) |
| 1416 | continue; | 1416 | continue; |
| 1417 | |||
| 1417 | const char *from = NULL; | 1418 | const char *from = NULL; |
| 1418 | if (strcmp(type, "Page") == 0) | 1419 | if (strcmp(type, "Page") == 0) |
| 1419 | from = xs_dict_get(msg, "audience"); | 1420 | from = xs_dict_get(msg, "audience"); |