commit 5b7279b6f7b0bff59aba029b12b05c989a3b0059 parent b3ca9a50e7fe365a7757d39b7a3c192827b0b680 Author: default <nobody@localhost> Date: Sun, 19 Jan 2025 18:39:29 +0100 Only relay public posts. Diffstat:
M | activitypub.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/activitypub.c b/activitypub.c @@ -2539,7 +2539,7 @@ void process_user_queue_item(snac *user, xs_dict *q_item) xs_set_free(&inboxes); /* relay this note */ - if (strcmp(user->uid, "relay") != 0) { /* avoid loops */ + if (is_msg_public(msg) && strcmp(user->uid, "relay") != 0) { /* avoid loops */ snac relay; if (user_open(&relay, "relay")) { /* a 'relay' user exists */