diff options
author | default <nobody@localhost> | 2024-07-27 05:52:41 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2024-07-27 05:52:41 +0200 |
commit | e113f9573847c90534fde51e952bca2ca8bc56c7 (patch) | |
tree | 35d2e4125fc170551dc6655b870234da3e4cc923 /mastoapi.c | |
parent | 7a20b14fbcc169833190e03a5964944e0dcd9e65 (diff) |
mastoapi: in /v2/search, store found local actors.
Diffstat (limited to 'mastoapi.c')
-rw-r--r-- | mastoapi.c | 3 |
1 files changed, 3 insertions, 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); } } } |