diff options
| author | grunfink <grunfink@noreply.codeberg.org> | 2025-09-30 21:36:12 +0200 |
|---|---|---|
| committer | grunfink <grunfink@noreply.codeberg.org> | 2025-09-30 21:36:12 +0200 |
| commit | 7d942d42df5e58e67ea9bbf3cfc92ec23a7f929d (patch) | |
| tree | 87251de6439f46b5d9cfb4b4b56af2963040d26d | |
| parent | 2d4b3780f2dcd9255c6b60abffa2a14f5dd1be2a (diff) | |
| parent | 5c68861787ffceab48f5f49011cd0adab7e5e512 (diff) | |
Merge pull request 'fix fetching' (#479) from byte/snac2:fix/fetching into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/479
| -rw-r--r-- | activitypub.c | 4 |
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"); |