diff options
author | default <nobody@localhost> | 2024-03-15 18:36:56 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2024-03-15 18:36:56 +0100 |
commit | 73a5fc6f5b7a8dd2179670607a8818e6e5aa635f (patch) | |
tree | ae9f2c5014d68cfc224062f0cac6a669004e32d1 /activitypub.c | |
parent | 7aa5250eb8c68472e476faf8399e98f2ba9a9c3b (diff) |
Added a type Note to poll options.
Diffstat (limited to 'activitypub.c')
-rw-r--r-- | activitypub.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |