summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authorGravatar default2022-11-25 12:50:19 +0100
committerGravatar default2022-11-25 12:50:19 +0100
commitafeec970a38ad91fc00ab50efaf42723c38cefbf (patch)
treea4ac4fb02e2acf377e104871fef23b73776d513c /activitypub.c
parentStarted maintaining timeline.idx and local.idx. (diff)
downloadsnac2-afeec970a38ad91fc00ab50efaf42723c38cefbf.tar.gz
snac2-afeec970a38ad91fc00ab50efaf42723c38cefbf.tar.xz
snac2-afeec970a38ad91fc00ab50efaf42723c38cefbf.zip
Also call object_del() on a renewed actor in actor_request().
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/activitypub.c b/activitypub.c
index f3f15af..17f74e0 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -65,6 +65,7 @@ int actor_request(snac *snac, char *actor, d_char **data)
65 65
66 if (valid_status(status2)) { 66 if (valid_status(status2)) {
67 /* renew data */ 67 /* renew data */
68 object_del(actor);
68 status = actor_add(snac, actor, payload); 69 status = actor_add(snac, actor, payload);
69 70
70 if (data != NULL) { 71 if (data != NULL) {