mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +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);
|
||||
|
||||
user_free(&user);
|
||||
return 200;
|
||||
}
|
||||
else
|
||||
return 404;
|
||||
|
|
Loading…
Reference in a new issue