snac2

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

commit 90bab08655d7600cd0856e52d05d12a924b77e5f
parent be3e5c96182974e569b58699aee18af71f86e13f
Author: default <nobody@localhost>
Date:   Mon, 18 Dec 2023 13:40:39 +0100

More shared inbox tweaks.

Diffstat:
Mactivitypub.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/activitypub.c b/activitypub.c @@ -468,9 +468,9 @@ int is_msg_for_me(snac *snac, const xs_dict *c_msg) return following_check(snac, actor); } - /* if it's an Undo + Follow, it must be from someone that follows us */ + /* if it's an Undo, it must be from someone related to us */ if (xs_match(type, "Undo")) { - return follower_check(snac, actor); + return follower_check(snac, actor) || following_check(snac, actor); } /* if it's an Accept + Follow, it must be for a Follow we created */