diff options
| author | default <nobody@localhost> | 2025-01-12 11:30:16 +0100 |
|---|---|---|
| committer | default <nobody@localhost> | 2025-01-12 11:30:16 +0100 |
| commit | f88a32dbe0805fceb3fb75b01de61616d7953f5e (patch) | |
| tree | 81b0a28bb63cd79963a8bbf8d2852efb2d2ce383 /mastoapi.c | |
| parent | 5d2a5f160adc0992178812bcaa72df9cd5f072a7 (diff) | |
mastoapi: fixed Events not being shown.
Diffstat (limited to 'mastoapi.c')
| -rw-r--r-- | mastoapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1428,9 +1428,9 @@ xs_list *mastoapi_timeline(snac *user, const xs_dict *args, const char *index_fn continue; } - /* if it has a name and it's not a Page or a Video, + /* if it has a name and it's not an object that may have one, it's a poll vote, so discard it */ - if (!xs_is_null(xs_dict_get(msg, "name")) && !xs_match(type, "Page|Video")) + if (!xs_is_null(xs_dict_get(msg, "name")) && !xs_match(type, "Page|Video|Audio|Event")) continue; /* convert the Note into a Mastodon status */ |