summaryrefslogtreecommitdiff
path: root/snac.h
diff options
context:
space:
mode:
authorGravatar default2025-01-05 09:34:00 +0100
committerGravatar default2025-01-05 09:34:00 +0100
commit3a1cae73265aebdbe678d94fbdc16edf3ccc643f (patch)
tree3c50341495d370dfeb7bfe0312ad5644d9c8f865 /snac.h
parentUse the site's CSS in the /share page. (diff)
downloadpenes-snac2-3a1cae73265aebdbe678d94fbdc16edf3ccc643f.tar.gz
penes-snac2-3a1cae73265aebdbe678d94fbdc16edf3ccc643f.tar.xz
penes-snac2-3a1cae73265aebdbe678d94fbdc16edf3ccc643f.zip
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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/snac.h b/snac.h
index 2057e2c..c9ba28b 100644
--- a/snac.h
+++ b/snac.h
@@ -314,7 +314,8 @@ xs_dict *msg_create(snac *snac, const xs_dict *object);
314xs_dict *msg_follow(snac *snac, const char *actor); 314xs_dict *msg_follow(snac *snac, const char *actor);
315 315
316xs_dict *msg_note(snac *snac, const xs_str *content, const xs_val *rcpts, 316xs_dict *msg_note(snac *snac, const xs_str *content, const xs_val *rcpts,
317 const xs_str *in_reply_to, const xs_list *attach, int priv); 317 const xs_str *in_reply_to, const xs_list *attach,
318 int priv, const char *lang);
318 319
319xs_dict *msg_undo(snac *snac, const xs_val *object); 320xs_dict *msg_undo(snac *snac, const xs_val *object);
320xs_dict *msg_delete(snac *snac, const char *id); 321xs_dict *msg_delete(snac *snac, const char *id);