commit 7199c00

default  ·  2023-01-20 09:09:32 +0000 UTC
parent a38c7ae
In msg_note(), store the original content in the sourceContent field.
1 files changed,  +2, -0
+2, -0
1@@ -733,6 +733,8 @@ d_char *msg_note(snac *snac, char *content, char *rcpts, char *in_reply_to, char
2     msg = xs_dict_append(msg, "inReplyTo",    irt);
3     msg = xs_dict_append(msg, "tag",          tag);
4 
5+    msg = xs_dict_append(msg, "sourceContent", content);
6+
7     if (atls != NULL)
8         msg = xs_dict_append(msg, "attachment", atls);
9