mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-25 16:53:37 +00:00
mastoapi: also process "Document" type attachments.
This commit is contained in:
parent
e9d2d14873
commit
39932b21ec
1 changed files with 1 additions and 1 deletions
|
@ -748,7 +748,7 @@ xs_dict *mastoapi_status(snac *snac, const xs_dict *msg)
|
|||
|
||||
if (!xs_is_null(mtype)) {
|
||||
if (xs_startswith(mtype, "image/") || xs_startswith(mtype, "video/") ||
|
||||
strcmp(mtype, "Image") == 0) {
|
||||
strcmp(mtype, "Image") == 0 || strcmp(mtype, "Document") == 0) {
|
||||
xs *matteid = xs_fmt("%s_%d", id, xs_list_len(matt));
|
||||
xs *matte = xs_dict_new();
|
||||
|
||||
|
|
Loading…
Reference in a new issue