Made msg_question() non-editable.

This commit is contained in:
default 2023-05-30 10:38:17 +02:00
parent 42918d44a0
commit 0444b77da5

View File

@ -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;