Slon/Modules/ActivityPub: Use NULL account_id for status lookup
Fixes regression introduced by a5460ec
This commit is contained in:
parent
0a3e307916
commit
128d7d4f3a
1 changed files with 1 additions and 1 deletions
|
@ -785,7 +785,7 @@ JsonObject* @slon_activitypub_create_status_for_remote_account(SlonHttpSession*
|
|||
}
|
||||
|
||||
if (account && (o->@("inReplyTo") || o->@("inReplyToAtomUri"))) {
|
||||
JsonObject* reply_to_post = @slon_api_find_status_by_uri(o->@("inReplyTo"), account->@("id"));
|
||||
JsonObject* reply_to_post = @slon_api_find_status_by_uri(o->@("inReplyTo"));
|
||||
if (reply_to_post) {
|
||||
new_status->set("in_reply_to_id", reply_to_post->@("id"), JSON_STRING);
|
||||
new_status->set("in_reply_to_acct_id", reply_to_post->o("account")->@("id"), JSON_STRING);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue