diff options
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activitypub.c b/activitypub.c index b20ae0f..13b1ce2 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -109,7 +109,7 @@ int actor_request(snac *snac, const char *actor, xs_dict **data) | |||
| 109 | 109 | ||
| 110 | if (valid_status(status2)) { | 110 | if (valid_status(status2)) { |
| 111 | /* renew data */ | 111 | /* renew data */ |
| 112 | status = actor_add(snac, actor, payload); | 112 | status = actor_add(actor, payload); |
| 113 | 113 | ||
| 114 | if (data != NULL) { | 114 | if (data != NULL) { |
| 115 | *data = payload; | 115 | *data = payload; |
| @@ -1121,7 +1121,7 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req) | |||
| 1121 | else | 1121 | else |
| 1122 | if (strcmp(type, "Update") == 0) { | 1122 | if (strcmp(type, "Update") == 0) { |
| 1123 | if (strcmp(utype, "Person") == 0) { | 1123 | if (strcmp(utype, "Person") == 0) { |
| 1124 | actor_add(snac, actor, xs_dict_get(msg, "object")); | 1124 | actor_add(actor, xs_dict_get(msg, "object")); |
| 1125 | 1125 | ||
| 1126 | snac_log(snac, xs_fmt("updated actor %s", actor)); | 1126 | snac_log(snac, xs_fmt("updated actor %s", actor)); |
| 1127 | } | 1127 | } |