diff options
| -rw-r--r-- | mastoapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -748,7 +748,7 @@ xs_dict *mastoapi_status(snac *snac, const xs_dict *msg) | |||
| 748 | 748 | ||
| 749 | if (!xs_is_null(mtype)) { | 749 | if (!xs_is_null(mtype)) { |
| 750 | if (xs_startswith(mtype, "image/") || xs_startswith(mtype, "video/") || | 750 | if (xs_startswith(mtype, "image/") || xs_startswith(mtype, "video/") || |
| 751 | strcmp(mtype, "Image") == 0) { | 751 | strcmp(mtype, "Image") == 0 || strcmp(mtype, "Document") == 0) { |
| 752 | xs *matteid = xs_fmt("%s_%d", id, xs_list_len(matt)); | 752 | xs *matteid = xs_fmt("%s_%d", id, xs_list_len(matt)); |
| 753 | xs *matte = xs_dict_new(); | 753 | xs *matte = xs_dict_new(); |
| 754 | 754 | ||