In msg_note(), store the original content in the sourceContent field.

This commit is contained in:
default 2023-01-20 10:09:32 +01:00
parent a38c7aeadc
commit 7199c00403

View File

@ -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, "inReplyTo", irt);
msg = xs_dict_append(msg, "tag", tag); msg = xs_dict_append(msg, "tag", tag);
msg = xs_dict_append(msg, "sourceContent", content);
if (atls != NULL) if (atls != NULL)
msg = xs_dict_append(msg, "attachment", atls); msg = xs_dict_append(msg, "attachment", atls);