summaryrefslogtreecommitdiff
path: root/snac.h
diff options
context:
space:
mode:
authorGravatar grunfink2025-11-29 06:08:37 +0100
committerGravatar grunfink2025-11-29 06:08:37 +0100
commit5c2c7b27aca8bec59f90007481e5e2c6e961827f (patch)
treed07dd72c332c45a8855363a52dd74267e482ef22 /snac.h
parentSome attachments are of type 'Video' instead of a MIME type (bsky). (diff)
downloadsnac2-5c2c7b27aca8bec59f90007481e5e2c6e961827f.tar.gz
snac2-5c2c7b27aca8bec59f90007481e5e2c6e961827f.tar.xz
snac2-5c2c7b27aca8bec59f90007481e5e2c6e961827f.zip
New function is_msg_mine().
Diffstat (limited to 'snac.h')
-rw-r--r--snac.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/snac.h b/snac.h
index 91dfa27..4d387a6 100644
--- a/snac.h
+++ b/snac.h
@@ -388,6 +388,7 @@ int send_to_inbox(snac *snac, const xs_str *inbox, const xs_dict *msg,
388xs_str *get_actor_inbox(const char *actor, int shared); 388xs_str *get_actor_inbox(const char *actor, int shared);
389int send_to_actor(snac *snac, const char *actor, const xs_dict *msg, 389int 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);
391int is_msg_mine(snac *user, const char *id);
391int is_msg_public(const xs_dict *msg); 392int is_msg_public(const xs_dict *msg);
392int is_msg_from_private_user(const xs_dict *msg); 393int is_msg_from_private_user(const xs_dict *msg);
393int is_msg_for_me(snac *snac, const xs_dict *msg); 394int is_msg_for_me(snac *snac, const xs_dict *msg);