mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-14 09:35:04 +00:00
Added a type Note to poll options.
This commit is contained in:
parent
7aa5250eb8
commit
73a5fc6f5b
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue