aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");