summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2023-12-17 18:40:26 +0100
committerGravatar default2023-12-17 18:40:26 +0100
commitadf42137561ac671b1bad290c2ef5e2a492e46d4 (patch)
treeb708ef21944a1ce9e80c8ee5ae0910e9320af70a
parentAlso check for the .../followers rcpt for non-public messages. (diff)
downloadsnac2-adf42137561ac671b1bad290c2ef5e2a492e46d4.tar.gz
snac2-adf42137561ac671b1bad290c2ef5e2a492e46d4.tar.xz
snac2-adf42137561ac671b1bad290c2ef5e2a492e46d4.zip
Deleted debug messages.
Diffstat (limited to '')
-rw-r--r--activitypub.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/activitypub.c b/activitypub.c
index 758c1b7..114e35c 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -514,10 +514,8 @@ int is_msg_for_me(snac *snac, const xs_dict *c_msg)
514 else 514 else
515 if (actor_followers && strcmp(v, actor_followers) == 0) { 515 if (actor_followers && strcmp(v, actor_followers) == 0) {
516 /* if this message is for this actor's followers, are we one of them? */ 516 /* if this message is for this actor's followers, are we one of them? */
517 if (following_check(snac, actor)) { 517 if (following_check(snac, actor))
518 snac_debug(snac, 0, xs_fmt("---> non-public msg for followers"));
519 return 6; 518 return 6;
520 }
521 } 519 }
522 } 520 }
523 521
@@ -542,8 +540,6 @@ int is_msg_for_me(snac *snac, const xs_dict *c_msg)
542 } 540 }
543 } 541 }
544 542
545 snac_debug(snac, 0, xs_fmt("is_msg_for_me() final"));
546
547 return 0; 543 return 0;
548} 544}
549 545