diff options
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 | |||
| 1428 | continue; | 1428 | continue; |
| 1429 | } | 1429 | } |
| 1430 | 1430 | ||
| 1431 | /* if it has a name and it's not a Page or a Video, | 1431 | /* if it has a name and it's not an object that may have one, |
| 1432 | it's a poll vote, so discard it */ | 1432 | it's a poll vote, so discard it */ |
| 1433 | if (!xs_is_null(xs_dict_get(msg, "name")) && !xs_match(type, "Page|Video")) | 1433 | if (!xs_is_null(xs_dict_get(msg, "name")) && !xs_match(type, "Page|Video|Audio|Event")) |
| 1434 | continue; | 1434 | continue; |
| 1435 | 1435 | ||
| 1436 | /* convert the Note into a Mastodon status */ | 1436 | /* convert the Note into a Mastodon status */ |