1
0
Fork 0
mirror of https://codeberg.org/grunfink/snac2.git synced 2025-04-17 12:11:29 +00:00

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