commit fe83b48
grunfink
·
2026-06-24 08:46:44 +0000 UTC
parent be894b3
Reverted previous patch. This check needs more granularity; Mastodon sends Create + Note posts not from the actor, relays sends announces, etc.
1 files changed,
+0,
-7
+0,
-7
1@@ -2695,13 +2695,6 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req)
2 return -1;
3 }
4
5- if (strcmp(actor, key_id) != 0) {
6- srv_log(xs_fmt("mismatched actor '%s' and key '%s'", actor, key_id));
7-
8- srv_archive_error("mismatched_actor_and_key", "bad keyId", req, msg);
9- return -1;
10- }
11-
12 /* if no user is set, no further checks can be done; propagate */
13 if (snac == NULL)
14 return 2;