commit e113f95

default  ·  2024-07-27 03:52:41 +0000 UTC
parent 7a20b14
mastoapi: in /v2/search, store found local actors.
1 files changed,  +3, -0
+3, -0
 1@@ -2347,6 +2347,9 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
 2                                 xs *acct = mastoapi_account(actor_o);
 3 
 4                                 acl = xs_list_append(acl, acct);
 5+
 6+                                if (!object_here(actor))
 7+                                    object_add(actor, actor_o);
 8                             }
 9                         }
10                     }