summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c
index 18b3c86..73145d3 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -2539,7 +2539,7 @@ void process_user_queue_item(snac *user, xs_dict *q_item)
2539 xs_set_free(&inboxes); 2539 xs_set_free(&inboxes);
2540 2540
2541 /* relay this note */ 2541 /* relay this note */
2542 if (strcmp(user->uid, "relay") != 0) { /* avoid loops */ 2542 if (is_msg_public(msg) && strcmp(user->uid, "relay") != 0) { /* avoid loops */
2543 snac relay; 2543 snac relay;
2544 if (user_open(&relay, "relay")) { 2544 if (user_open(&relay, "relay")) {
2545 /* a 'relay' user exists */ 2545 /* a 'relay' user exists */