mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 13:25:04 +00:00
Return immediately from actor_get() if it's a local user.
This commit is contained in:
parent
6917f0ab26
commit
21a2a01937
1 changed files with 1 additions and 0 deletions
1
data.c
1
data.c
|
@ -1319,6 +1319,7 @@ int actor_get(snac *snac1, const char *actor, xs_dict **data)
|
||||||
*data = msg_actor(&user);
|
*data = msg_actor(&user);
|
||||||
|
|
||||||
user_free(&user);
|
user_free(&user);
|
||||||
|
return 200;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
return 404;
|
return 404;
|
||||||
|
|
Loading…
Reference in a new issue