summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/activitypub.c b/activitypub.c
index c29a14b..9951f39 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -942,6 +942,9 @@ xs_dict *msg_question(snac *user, const char *content, xs_list *attach,
msg = xs_dict_set(msg, "type", "Question");
+ /* make it non-editable */
+ msg = xs_dict_del(msg, "sourceContent");
+
xs *o = xs_list_new();
xs_list *p = (xs_list *)opts;
xs_str *v;