diff options
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 2 |
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) | |||
| 917 | else | 917 | else |
| 918 | if (strcmp(type, "Update") == 0) { | 918 | if (strcmp(type, "Update") == 0) { |
| 919 | if (strcmp(utype, "Person") == 0) { | 919 | if (strcmp(utype, "Person") == 0) { |
| 920 | object_del(actor); | ||
| 920 | actor_add(snac, actor, xs_dict_get(msg, "object")); | 921 | actor_add(snac, actor, xs_dict_get(msg, "object")); |
| 922 | |||
| 921 | snac_log(snac, xs_fmt("updated actor %s", actor)); | 923 | snac_log(snac, xs_fmt("updated actor %s", actor)); |
| 922 | } | 924 | } |
| 923 | else | 925 | else |