snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 73a5fc6f5b7a8dd2179670607a8818e6e5aa635f
parent 7aa5250eb8c68472e476faf8399e98f2ba9a9c3b
Author: default <nobody@localhost>
Date:   Fri, 15 Mar 2024 18:36:56 +0100

Added a type Note to poll options.

Diffstat:
Mactivitypub.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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);