commit 73a5fc6
default
·
2024-03-15 17:36:56 +0000 UTC
parent 7aa5250
Added a type Note to poll options.
1 files changed,
+1,
-0
+1,
-0
1@@ -1558,6 +1558,7 @@ xs_dict *msg_question(snac *user, const char *content, xs_list *attach,
2 }
3
4 if (xs_set_add(&seen, v2) == 1) {
5+ d = xs_dict_append(d, "type", "Note");
6 d = xs_dict_append(d, "name", v2);
7 d = xs_dict_append(d, "replies", replies);
8 o = xs_list_append(o, d);