mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-25 14:35:04 +00:00
Fixed crash when unfollowing.
This commit is contained in:
parent
a67a82d545
commit
6056077031
1 changed files with 1 additions and 1 deletions
2
data.c
2
data.c
|
@ -748,7 +748,7 @@ int follower_del(snac *snac, const char *actor)
|
||||||
{
|
{
|
||||||
int ret = object_user_cache_del(snac, actor, "followers");
|
int ret = object_user_cache_del(snac, actor, "followers");
|
||||||
|
|
||||||
snac_debug(snac, 2, xs_fmt("follower_del %s %s", actor));
|
snac_debug(snac, 2, xs_fmt("follower_del %s", actor));
|
||||||
|
|
||||||
return ret == -1 ? 404 : 200;
|
return ret == -1 ? 404 : 200;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue