Return immediately from actor_get() if it's a local user.

This commit is contained in:
default 2023-04-30 07:37:39 +02:00
parent 6917f0ab26
commit 21a2a01937

1
data.c
View file

@ -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;