diff options
author | default <nobody@localhost> | 2022-09-23 18:46:30 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-09-23 18:46:30 +0200 |
commit | 6586be50a0297de0e9b7e6cd66ce3b25eccf7e5c (patch) | |
tree | b03db8aefddd9cb5966922d27a74a45d6ab00c59 /activitypub.c | |
parent | a0bcc4e6c022fc55956920fd49303abc6ca9b4db (diff) |
Fixed bug in actor_request().
Diffstat (limited to 'activitypub.c')
-rw-r--r-- | activitypub.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/activitypub.c b/activitypub.c index 7cbf4db..f9144a6 100644 --- a/activitypub.c +++ b/activitypub.c @@ -65,8 +65,7 @@ int actor_request(snac *snac, char *actor, d_char **data) if (valid_status(status2)) { /* renew data */ - xs *j = xs_json_dumps_pp(payload, 4); - status = actor_add(snac, actor, j); + status = actor_add(snac, actor, payload); *data = payload; payload = NULL; |