mastoapi: in /v2/search, store found local actors.

This commit is contained in:
default 2024-07-27 05:52:41 +02:00
parent 7a20b14fbc
commit e113f95738

View file

@ -2347,6 +2347,9 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
xs *acct = mastoapi_account(actor_o); xs *acct = mastoapi_account(actor_o);
acl = xs_list_append(acl, acct); acl = xs_list_append(acl, acct);
if (!object_here(actor))
object_add(actor, actor_o);
} }
} }
} }