summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-06-04 10:49:02 +0200
committerdefault <nobody@localhost>2023-06-04 10:49:02 +0200
commit85011994e13d0f3b031e97fed1c0b89bbfee6bc5 (patch)
tree5f1a4caf6108a6f6e3244806ed655fc237e443db /activitypub.c
parent0d817340e245f2426ced10eddee9f7d5faf90a29 (diff)
Also accept Update + Service messages.
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c2
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)
}
else
if (strcmp(type, "Update") == 0) { /** **/
- if (strcmp(utype, "Person") == 0) {
+ if (strcmp(utype, "Person") == 0 || strcmp(utype, "Service") == 0) {
actor_add(actor, xs_dict_get(msg, "object"));
timeline_touch(snac);