aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2025-01-22 05:59:15 +0100
committerdefault <nobody@localhost>2025-01-22 05:59:15 +0100
commit070a9db3d72e0961dca45c7e65aa9fc4532aba73 (patch)
tree7edf2c1a92743c8955cbb9510c0fff59253500dc
parent7cd62dd25b92780ef4e1ad42c1d2e9ba69c931e9 (diff)
Also accept 'Update' activities for 'Application' objects.
-rw-r--r--activitypub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c
index 5517bf4..8fa29c9 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -2302,7 +2302,7 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req)
}
else
if (strcmp(type, "Update") == 0) { /** **/
- if (xs_match(utype, "Person|Service")) { /** **/
+ if (xs_match(utype, "Person|Service|Application")) { /** **/
actor_add(actor, xs_dict_get(msg, "object"));
timeline_touch(snac);