snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit adf42137561ac671b1bad290c2ef5e2a492e46d4
parent cbcd573fb50885382acf7013b5c367a5ea1feb9c
Author: default <nobody@localhost>
Date:   Sun, 17 Dec 2023 18:40:26 +0100

Deleted debug messages.

Diffstat:
Mactivitypub.c | 6+-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/activitypub.c b/activitypub.c @@ -514,10 +514,8 @@ int is_msg_for_me(snac *snac, const xs_dict *c_msg) else if (actor_followers && strcmp(v, actor_followers) == 0) { /* if this message is for this actor's followers, are we one of them? */ - if (following_check(snac, actor)) { - snac_debug(snac, 0, xs_fmt("---> non-public msg for followers")); + if (following_check(snac, actor)) return 6; - } } } @@ -542,8 +540,6 @@ int is_msg_for_me(snac *snac, const xs_dict *c_msg) } } - snac_debug(snac, 0, xs_fmt("is_msg_for_me() final")); - return 0; }