commit afeec970a38ad91fc00ab50efaf42723c38cefbf
parent 4bbebe8e4e4f2a43c4c7d0d193f6bc4a228a461d
Author: default <nobody@localhost>
Date: Fri, 25 Nov 2022 12:50:19 +0100
Also call object_del() on a renewed actor in actor_request().
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/activitypub.c b/activitypub.c
@@ -65,6 +65,7 @@ int actor_request(snac *snac, char *actor, d_char **data)
if (valid_status(status2)) {
/* renew data */
+ object_del(actor);
status = actor_add(snac, actor, payload);
if (data != NULL) {