From 85011994e13d0f3b031e97fed1c0b89bbfee6bc5 Mon Sep 17 00:00:00 2001 From: default Date: Sun, 4 Jun 2023 10:49:02 +0200 Subject: [PATCH] Also accept Update + Service messages. --- activitypub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);