mastoapi: Fixed bug in account searching.

This commit is contained in:
default 2024-03-01 15:09:55 +01:00
parent 96c75d9938
commit 69724220a4

View file

@ -2035,7 +2035,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
char *actor = NULL;
char *user = NULL;
if (valid_status(webfinger_request(q, &actor, &user) && actor)) {
if (valid_status(webfinger_request(q, &actor, &user)) && actor) {
xs *actor_o = NULL;
if (valid_status(actor_request(&snac1, actor, &actor_o))) {