Slon/Modules/ActivityPub: Set remote_actor when creating remote account
This commit is contained in:
parent
fecfa23ddd
commit
d638282461
1 changed files with 1 additions and 0 deletions
|
@ -782,6 +782,7 @@ JsonObject* @slon_activitypub_get_account_for_remote_actor(SlonHttpSession* sess
|
|||
account->set("emojis", SLON_EMPTY_JSON_ARRAY, JSON_ARRAY);
|
||||
account->set("fields", SLON_EMPTY_JSON_ARRAY, JSON_ARRAY);
|
||||
account->set("url", remote_actor, JSON_STRING);
|
||||
account->set("remote_actor", remote_actor, JSON_STRING);
|
||||
|
||||
db->a("accounts")->append(Json.CreateItem(account, JSON_OBJECT));
|
||||
// db->o("statuses")->set(acct->@("id"), Json.CreateArray(), JSON_ARRAY);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue