diff options
| author | 2024-02-10 09:08:09 +0100 | |
|---|---|---|
| committer | 2024-02-10 09:08:09 +0100 | |
| commit | 0930ce726fa5750eed4f1f53627428dab0944f1a (patch) | |
| tree | 108b4d8b29f20b418c289777e81fbde5a2821477 /snac.h | |
| parent | mastoapi: Skip non-public posts from timelines by tag. (diff) | |
| download | snac2-0930ce726fa5750eed4f1f53627428dab0944f1a.tar.gz snac2-0930ce726fa5750eed4f1f53627428dab0944f1a.tar.xz snac2-0930ce726fa5750eed4f1f53627428dab0944f1a.zip | |
New function is_msg_from_private_user().
Diffstat (limited to 'snac.h')
| -rw-r--r-- | snac.h | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -277,6 +277,7 @@ xs_str *get_actor_inbox(const char *actor); | |||
| 277 | int send_to_actor(snac *snac, const char *actor, const xs_dict *msg, | 277 | int send_to_actor(snac *snac, const char *actor, const xs_dict *msg, |
| 278 | xs_val **payload, int *p_size, int timeout); | 278 | xs_val **payload, int *p_size, int timeout); |
| 279 | int is_msg_public(const xs_dict *msg); | 279 | int is_msg_public(const xs_dict *msg); |
| 280 | int is_msg_from_private_user(const xs_dict *msg); | ||
| 280 | int is_msg_for_me(snac *snac, const xs_dict *msg); | 281 | int is_msg_for_me(snac *snac, const xs_dict *msg); |
| 281 | 282 | ||
| 282 | int process_user_queue(snac *snac); | 283 | int process_user_queue(snac *snac); |