diff options
| author | 2025-11-29 06:08:37 +0100 | |
|---|---|---|
| committer | 2025-11-29 06:08:37 +0100 | |
| commit | 5c2c7b27aca8bec59f90007481e5e2c6e961827f (patch) | |
| tree | d07dd72c332c45a8855363a52dd74267e482ef22 /snac.h | |
| parent | Some attachments are of type 'Video' instead of a MIME type (bsky). (diff) | |
| download | snac2-5c2c7b27aca8bec59f90007481e5e2c6e961827f.tar.gz snac2-5c2c7b27aca8bec59f90007481e5e2c6e961827f.tar.xz snac2-5c2c7b27aca8bec59f90007481e5e2c6e961827f.zip | |
New function is_msg_mine().
Diffstat (limited to 'snac.h')
| -rw-r--r-- | snac.h | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -388,6 +388,7 @@ int send_to_inbox(snac *snac, const xs_str *inbox, const xs_dict *msg, | |||
| 388 | xs_str *get_actor_inbox(const char *actor, int shared); | 388 | xs_str *get_actor_inbox(const char *actor, int shared); |
| 389 | int send_to_actor(snac *snac, const char *actor, const xs_dict *msg, | 389 | int send_to_actor(snac *snac, const char *actor, const xs_dict *msg, |
| 390 | xs_val **payload, int *p_size, int timeout); | 390 | xs_val **payload, int *p_size, int timeout); |
| 391 | int is_msg_mine(snac *user, const char *id); | ||
| 391 | int is_msg_public(const xs_dict *msg); | 392 | int is_msg_public(const xs_dict *msg); |
| 392 | int is_msg_from_private_user(const xs_dict *msg); | 393 | int is_msg_from_private_user(const xs_dict *msg); |
| 393 | int is_msg_for_me(snac *snac, const xs_dict *msg); | 394 | int is_msg_for_me(snac *snac, const xs_dict *msg); |