From 73a5fc6f5b7a8dd2179670607a8818e6e5aa635f Mon Sep 17 00:00:00 2001 From: default Date: Fri, 15 Mar 2024 18:36:56 +0100 Subject: Added a type Note to poll options. --- activitypub.c | 1 + 1 file changed, 1 insertion(+) diff --git a/activitypub.c b/activitypub.c index eb1552d..e007c96 100644 --- a/activitypub.c +++ b/activitypub.c @@ -1558,6 +1558,7 @@ xs_dict *msg_question(snac *user, const char *content, xs_list *attach, } if (xs_set_add(&seen, v2) == 1) { + d = xs_dict_append(d, "type", "Note"); d = xs_dict_append(d, "name", v2); d = xs_dict_append(d, "replies", replies); o = xs_list_append(o, d); -- cgit v1.2.3