summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c
index 82bf028..ca6bf52 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -669,10 +669,16 @@ void process_message(snac *snac, char *msg, char *req)
669 else 669 else
670 snac_log(snac, xs_fmt("error requesting 'Announce' object %s", object)); 670 snac_log(snac, xs_fmt("error requesting 'Announce' object %s", object));
671 } 671 }
672/*
673 else 672 else
674 if (strcmp(type, "Update") == 0) { 673 if (strcmp(type, "Update") == 0) {
674 if (strcmp(utype, "Person") == 0) {
675 actor_add(snac, actor, xs_dict_get(msg, "object"));
676 snac_log(snac, xs_fmt("updated actor %s", actor));
677 }
678 else
679 snac_log(snac, xs_fmt("ignored 'Update' for object type '%s'", utype));
675 } 680 }
681/*
676 else 682 else
677 if (strcmp(type, "Delete") == 0) { 683 if (strcmp(type, "Delete") == 0) {
678 } 684 }