mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 21:35:04 +00:00
Made msg_question() non-editable.
This commit is contained in:
parent
42918d44a0
commit
0444b77da5
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue