mirror of
https://codeberg.org/grunfink/snac2.git
synced 2025-01-13 17:43:39 +00:00
On unfollow, also delete from the pending follow list.
This commit is contained in:
parent
129049edf4
commit
96576d2c5d
1 changed files with 5 additions and 0 deletions
|
@ -1972,6 +1972,11 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req)
|
|||
snac_log(snac, xs_fmt("no longer following us %s", actor));
|
||||
do_notify = 1;
|
||||
}
|
||||
else
|
||||
if (pending_check(snac, actor)) {
|
||||
pending_del(snac, actor);
|
||||
snac_log(snac, xs_fmt("cancelled pending follow from %s", actor));
|
||||
}
|
||||
else
|
||||
snac_log(snac, xs_fmt("error deleting follower %s", actor));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue