commit 7199c00403c4fe3061e76c29f90fa0331fb30474
parent a38c7aeadcc69b3405d40b008a0b87f7c5d023dc
Author: default <nobody@localhost>
Date: Fri, 20 Jan 2023 10:09:32 +0100
In msg_note(), store the original content in the sourceContent field.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/activitypub.c b/activitypub.c
@@ -733,6 +733,8 @@ d_char *msg_note(snac *snac, char *content, char *rcpts, char *in_reply_to, char
msg = xs_dict_append(msg, "inReplyTo", irt);
msg = xs_dict_append(msg, "tag", tag);
+ msg = xs_dict_append(msg, "sourceContent", content);
+
if (atls != NULL)
msg = xs_dict_append(msg, "attachment", atls);