mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +00:00
mastoapi: in /v2/search, store found local actors.
This commit is contained in:
parent
7a20b14fbc
commit
e113f95738
1 changed files with 3 additions and 0 deletions
|
@ -2347,6 +2347,9 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
|
|||
xs *acct = mastoapi_account(actor_o);
|
||||
|
||||
acl = xs_list_append(acl, acct);
|
||||
|
||||
if (!object_here(actor))
|
||||
object_add(actor, actor_o);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue