summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/activitypub.c b/activitypub.c
index bb091ff..f3f15af 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -917,7 +917,9 @@ int process_message(snac *snac, char *msg, char *req)
else
if (strcmp(type, "Update") == 0) {
if (strcmp(utype, "Person") == 0) {
+ object_del(actor);
actor_add(snac, actor, xs_dict_get(msg, "object"));
+
snac_log(snac, xs_fmt("updated actor %s", actor));
}
else