commit 90bab08
default
·
2023-12-18 12:40:39 +0000 UTC
parent be3e5c9
More shared inbox tweaks.
1 files changed,
+2,
-2
+2,
-2
1@@ -468,9 +468,9 @@ int is_msg_for_me(snac *snac, const xs_dict *c_msg)
2 return following_check(snac, actor);
3 }
4
5- /* if it's an Undo + Follow, it must be from someone that follows us */
6+ /* if it's an Undo, it must be from someone related to us */
7 if (xs_match(type, "Undo")) {
8- return follower_check(snac, actor);
9+ return follower_check(snac, actor) || following_check(snac, actor);
10 }
11
12 /* if it's an Accept + Follow, it must be for a Follow we created */