diff options
Diffstat (limited to 'snac.h')
| -rw-r--r-- | snac.h | 7 |
1 files changed, 4 insertions, 3 deletions
| @@ -1,7 +1,7 @@ | |||
| 1 | /* snac - A simple, minimalistic ActivityPub instance */ | 1 | /* snac - A simple, minimalistic ActivityPub instance */ |
| 2 | /* copyright (c) 2022 - 2024 grunfink et al. / MIT license */ | 2 | /* copyright (c) 2022 - 2024 grunfink et al. / MIT license */ |
| 3 | 3 | ||
| 4 | #define VERSION "2.67" | 4 | #define VERSION "2.68-dev" |
| 5 | 5 | ||
| 6 | #define USER_AGENT "snac/" VERSION | 6 | #define USER_AGENT "snac/" VERSION |
| 7 | 7 | ||
| @@ -32,7 +32,7 @@ extern int dbglevel; | |||
| 32 | 32 | ||
| 33 | #define L(s) (s) | 33 | #define L(s) (s) |
| 34 | 34 | ||
| 35 | #define POSTLIKE_OBJECT_TYPE "Note|Question|Page|Article|Video|Event" | 35 | #define POSTLIKE_OBJECT_TYPE "Note|Question|Page|Article|Video|Audio|Event" |
| 36 | 36 | ||
| 37 | int mkdirx(const char *pathname); | 37 | int mkdirx(const char *pathname); |
| 38 | 38 | ||
| @@ -316,7 +316,8 @@ xs_dict *msg_create(snac *snac, const xs_dict *object); | |||
| 316 | xs_dict *msg_follow(snac *snac, const char *actor); | 316 | xs_dict *msg_follow(snac *snac, const char *actor); |
| 317 | 317 | ||
| 318 | xs_dict *msg_note(snac *snac, const xs_str *content, const xs_val *rcpts, | 318 | xs_dict *msg_note(snac *snac, const xs_str *content, const xs_val *rcpts, |
| 319 | const xs_str *in_reply_to, const xs_list *attach, int priv); | 319 | const xs_str *in_reply_to, const xs_list *attach, |
| 320 | int priv, const char *lang); | ||
| 320 | 321 | ||
| 321 | xs_dict *msg_undo(snac *snac, const xs_val *object); | 322 | xs_dict *msg_undo(snac *snac, const xs_val *object); |
| 322 | xs_dict *msg_delete(snac *snac, const char *id); | 323 | xs_dict *msg_delete(snac *snac, const char *id); |