aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbyte <gf3qyrmw7@mozmail.com>2025-09-30 21:30:56 +0200
committerbyte <gf3qyrmw7@mozmail.com>2025-09-30 21:30:56 +0200
commit5c68861787ffceab48f5f49011cd0adab7e5e512 (patch)
tree87251de6439f46b5d9cfb4b4b56af2963040d26d
parent2d4b3780f2dcd9255c6b60abffa2a14f5dd1be2a (diff)
fix fetching
-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)
/* not a post */
continue;
}
+ if (is_msg_for_me(user, post) == 0) {
+ /* not for us */
+ continue;
+ }
const xs_dict *object = xs_dict_get(post, "object");