summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authorGravatar default2024-05-30 16:12:08 +0200
committerGravatar default2024-05-30 16:12:08 +0200
commita5ec96a6da5437cad88487205d62a95f27614bd7 (patch)
tree2df61457b69c26adafed87aca7f1951ca847b513 /activitypub.c
parentUpdated RELEASE_NOTES. (diff)
downloadsnac2-a5ec96a6da5437cad88487205d62a95f27614bd7.tar.gz
snac2-a5ec96a6da5437cad88487205d62a95f27614bd7.tar.xz
snac2-a5ec96a6da5437cad88487205d62a95f27614bd7.zip
Added an "Alt..." details just below attachments with them.
The alt text is still also generated as 'alt' and 'name' attributes, but this is more usable from phones and tablets.
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c
index 4247078..212dd2f 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -239,7 +239,7 @@ xs_list *get_attachments(const xs_dict *msg)
239 if (xs_is_null(name)) 239 if (xs_is_null(name))
240 name = xs_dict_get(msg, "name"); 240 name = xs_dict_get(msg, "name");
241 if (xs_is_null(name)) 241 if (xs_is_null(name))
242 name = L("No description"); 242 name = "";
243 243
244 xs *d = xs_dict_new(); 244 xs *d = xs_dict_new();
245 d = xs_dict_append(d, "type", type); 245 d = xs_dict_append(d, "type", type);