mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-28 23:53:36 +00:00
More shared inbox tweaks.
This commit is contained in:
parent
be3e5c9618
commit
90bab08655
1 changed files with 2 additions and 2 deletions
|
@ -468,9 +468,9 @@ int is_msg_for_me(snac *snac, const xs_dict *c_msg)
|
||||||
return following_check(snac, actor);
|
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")) {
|
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 */
|
/* if it's an Accept + Follow, it must be for a Follow we created */
|
||||||
|
|
Loading…
Reference in a new issue