diff options
| author | 2024-07-27 05:52:41 +0200 | |
|---|---|---|
| committer | 2024-07-27 05:52:41 +0200 | |
| commit | e113f9573847c90534fde51e952bca2ca8bc56c7 (patch) | |
| tree | 35d2e4125fc170551dc6655b870234da3e4cc923 | |
| parent | mastoapi: opening a token file updates its file date and its app's. (diff) | |
| download | snac2-e113f9573847c90534fde51e952bca2ca8bc56c7.tar.gz snac2-e113f9573847c90534fde51e952bca2ca8bc56c7.tar.xz snac2-e113f9573847c90534fde51e952bca2ca8bc56c7.zip | |
mastoapi: in /v2/search, store found local actors.
| -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, | |||
| 2347 | xs *acct = mastoapi_account(actor_o); | 2347 | xs *acct = mastoapi_account(actor_o); |
| 2348 | 2348 | ||
| 2349 | acl = xs_list_append(acl, acct); | 2349 | acl = xs_list_append(acl, acct); |
| 2350 | |||
| 2351 | if (!object_here(actor)) | ||
| 2352 | object_add(actor, actor_o); | ||
| 2350 | } | 2353 | } |
| 2351 | } | 2354 | } |
| 2352 | } | 2355 | } |