diff options
| author | 2023-06-04 10:49:02 +0200 | |
|---|---|---|
| committer | 2023-06-04 10:49:02 +0200 | |
| commit | 85011994e13d0f3b031e97fed1c0b89bbfee6bc5 (patch) | |
| tree | 5f1a4caf6108a6f6e3244806ed655fc237e443db /activitypub.c | |
| parent | If a user config field 'bot' is set to true, identies as such. (diff) | |
| download | snac2-85011994e13d0f3b031e97fed1c0b89bbfee6bc5.tar.gz snac2-85011994e13d0f3b031e97fed1c0b89bbfee6bc5.tar.xz snac2-85011994e13d0f3b031e97fed1c0b89bbfee6bc5.zip | |
Also accept Update + Service messages.
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c index 80d6662..f5898b4 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -1445,7 +1445,7 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req) | |||
| 1445 | } | 1445 | } |
| 1446 | else | 1446 | else |
| 1447 | if (strcmp(type, "Update") == 0) { /** **/ | 1447 | if (strcmp(type, "Update") == 0) { /** **/ |
| 1448 | if (strcmp(utype, "Person") == 0) { | 1448 | if (strcmp(utype, "Person") == 0 || strcmp(utype, "Service") == 0) { |
| 1449 | actor_add(actor, xs_dict_get(msg, "object")); | 1449 | actor_add(actor, xs_dict_get(msg, "object")); |
| 1450 | timeline_touch(snac); | 1450 | timeline_touch(snac); |
| 1451 | 1451 | ||