diff options
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/activitypub.c b/activitypub.c index 17f74e0..228aabe 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -65,7 +65,6 @@ 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); | ||
| 69 | status = actor_add(snac, actor, payload); | 68 | status = actor_add(snac, actor, payload); |
| 70 | 69 | ||
| 71 | if (data != NULL) { | 70 | if (data != NULL) { |
| @@ -918,7 +917,6 @@ int process_message(snac *snac, char *msg, char *req) | |||
| 918 | else | 917 | else |
| 919 | if (strcmp(type, "Update") == 0) { | 918 | if (strcmp(type, "Update") == 0) { |
| 920 | if (strcmp(utype, "Person") == 0) { | 919 | if (strcmp(utype, "Person") == 0) { |
| 921 | object_del(actor); | ||
| 922 | actor_add(snac, actor, xs_dict_get(msg, "object")); | 920 | actor_add(snac, actor, xs_dict_get(msg, "object")); |
| 923 | 921 | ||
| 924 | snac_log(snac, xs_fmt("updated actor %s", actor)); | 922 | snac_log(snac, xs_fmt("updated actor %s", actor)); |