diff options
| author | default <nobody@localhost> | 2025-01-05 09:34:00 +0100 |
|---|---|---|
| committer | default <nobody@localhost> | 2025-01-05 09:34:00 +0100 |
| commit | 3a1cae73265aebdbe678d94fbdc16edf3ccc643f (patch) | |
| tree | 3c50341495d370dfeb7bfe0312ad5644d9c8f865 /snac.h | |
| parent | 17d7e0027abb48040ef989b1894bcd0bc28c9faa (diff) | |
Moved post language setting to msg_note(), where it really belongs.
On the way, posting from the Mastodon API sets the language accordingly.
Diffstat (limited to 'snac.h')
| -rw-r--r-- | snac.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -314,7 +314,8 @@ xs_dict *msg_create(snac *snac, const xs_dict *object); xs_dict *msg_follow(snac *snac, const char *actor); xs_dict *msg_note(snac *snac, const xs_str *content, const xs_val *rcpts, - const xs_str *in_reply_to, const xs_list *attach, int priv); + const xs_str *in_reply_to, const xs_list *attach, + int priv, const char *lang); xs_dict *msg_undo(snac *snac, const xs_val *object); xs_dict *msg_delete(snac *snac, const char *id); |