summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authorGravatar grunfink2025-09-30 21:36:12 +0200
committerGravatar grunfink2025-09-30 21:36:12 +0200
commit7d942d42df5e58e67ea9bbf3cfc92ec23a7f929d (patch)
tree87251de6439f46b5d9cfb4b4b56af2963040d26d /activitypub.c
parentUpdated .po files. (diff)
parentfix fetching (diff)
downloadsnac2-7d942d42df5e58e67ea9bbf3cfc92ec23a7f929d.tar.gz
snac2-7d942d42df5e58e67ea9bbf3cfc92ec23a7f929d.tar.xz
snac2-7d942d42df5e58e67ea9bbf3cfc92ec23a7f929d.zip
Merge pull request 'fix fetching' (#479) from byte/snac2:fix/fetching into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/479
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/activitypub.c b/activitypub.c
index 4ed2805..0a60d0d 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -1104,6 +1104,10 @@ void collect_outbox(snac *user, const char *actor_id)
1104 /* not a post */ 1104 /* not a post */
1105 continue; 1105 continue;
1106 } 1106 }
1107 if (is_msg_for_me(user, post) == 0) {
1108 /* not for us */
1109 continue;
1110 }
1107 1111
1108 const xs_dict *object = xs_dict_get(post, "object"); 1112 const xs_dict *object = xs_dict_get(post, "object");
1109 1113