commit 85011994e13d0f3b031e97fed1c0b89bbfee6bc5
parent 0d817340e245f2426ced10eddee9f7d5faf90a29
Author: default <nobody@localhost>
Date: Sun, 4 Jun 2023 10:49:02 +0200
Also accept Update + Service messages.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);