mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-10 03:50:38 +03:00
Made msg_question() non-editable.
This commit is contained in:
parent
42918d44a0
commit
0444b77da5
@ -942,6 +942,9 @@ xs_dict *msg_question(snac *user, const char *content, xs_list *attach,
|
|||||||
|
|
||||||
msg = xs_dict_set(msg, "type", "Question");
|
msg = xs_dict_set(msg, "type", "Question");
|
||||||
|
|
||||||
|
/* make it non-editable */
|
||||||
|
msg = xs_dict_del(msg, "sourceContent");
|
||||||
|
|
||||||
xs *o = xs_list_new();
|
xs *o = xs_list_new();
|
||||||
xs_list *p = (xs_list *)opts;
|
xs_list *p = (xs_list *)opts;
|
||||||
xs_str *v;
|
xs_str *v;
|
||||||
|
Loading…
Reference in New Issue
Block a user