mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-25 06:25:04 +00:00
In msg_note(), store the original content in the sourceContent field.
This commit is contained in:
parent
a38c7aeadc
commit
7199c00403
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue