diff options
| author | 2022-11-25 12:50:19 +0100 | |
|---|---|---|
| committer | 2022-11-25 12:50:19 +0100 | |
| commit | afeec970a38ad91fc00ab50efaf42723c38cefbf (patch) | |
| tree | a4ac4fb02e2acf377e104871fef23b73776d513c /activitypub.c | |
| parent | Started maintaining timeline.idx and local.idx. (diff) | |
| download | snac2-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.c | 1 |
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) { |