diff options
| author | 2024-03-25 15:33:14 +0100 | |
|---|---|---|
| committer | 2024-03-25 15:33:14 +0100 | |
| commit | bc752b7d67d834455eae9eacec16e28585c79c5f (patch) | |
| tree | 545f468d13dd9a5000178ec364e8c60c4819a188 /snac.h | |
| parent | Added an additional check for blocked instances. (diff) | |
| download | snac2-bc752b7d67d834455eae9eacec16e28585c79c5f.tar.gz snac2-bc752b7d67d834455eae9eacec16e28585c79c5f.tar.xz snac2-bc752b7d67d834455eae9eacec16e28585c79c5f.zip | |
Emojis are now read from ~/emojis.json.
Diffstat (limited to 'snac.h')
| -rw-r--r-- | snac.h | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -304,6 +304,7 @@ int activitypub_post_handler(const xs_dict *req, const char *q_path, | |||
| 304 | char *payload, int p_size, | 304 | char *payload, int p_size, |
| 305 | char **body, int *b_size, char **ctype); | 305 | char **body, int *b_size, char **ctype); |
| 306 | 306 | ||
| 307 | xs_dict *emojis(void); | ||
| 307 | xs_str *not_really_markdown(const char *content, xs_list **attach); | 308 | xs_str *not_really_markdown(const char *content, xs_list **attach); |
| 308 | xs_str *sanitize(const char *content); | 309 | xs_str *sanitize(const char *content); |
| 309 | xs_str *encode_html(const char *str); | 310 | xs_str *encode_html(const char *str); |