diff options
| author | 2025-01-22 05:59:15 +0100 | |
|---|---|---|
| committer | 2025-01-22 05:59:15 +0100 | |
| commit | 070a9db3d72e0961dca45c7e65aa9fc4532aba73 (patch) | |
| tree | 7edf2c1a92743c8955cbb9510c0fff59253500dc | |
| parent | Don't account as such announces by our own relay. (diff) | |
| download | snac2-070a9db3d72e0961dca45c7e65aa9fc4532aba73.tar.gz snac2-070a9db3d72e0961dca45c7e65aa9fc4532aba73.tar.xz snac2-070a9db3d72e0961dca45c7e65aa9fc4532aba73.zip | |
Also accept 'Update' activities for 'Application' objects.
| -rw-r--r-- | activitypub.c | 2 |
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) | |||
| 2302 | } | 2302 | } |
| 2303 | else | 2303 | else |
| 2304 | if (strcmp(type, "Update") == 0) { /** **/ | 2304 | if (strcmp(type, "Update") == 0) { /** **/ |
| 2305 | if (xs_match(utype, "Person|Service")) { /** **/ | 2305 | if (xs_match(utype, "Person|Service|Application")) { /** **/ |
| 2306 | actor_add(actor, xs_dict_get(msg, "object")); | 2306 | actor_add(actor, xs_dict_get(msg, "object")); |
| 2307 | timeline_touch(snac); | 2307 | timeline_touch(snac); |
| 2308 | 2308 | ||