Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit c075657

Browse files
committed
Fix type hint.
1 parent 748e9b6 commit c075657

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

synapse/event_auth.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,9 @@ def _verify_third_party_invite(
10911091
verify_key = decode_verify_key_bytes(
10921092
key_name, decode_base64(public_key)
10931093
)
1094-
verify_signed_json(signed, server, verify_key)
1094+
# verify_signed_json incorrectly states it wants a dict, it
1095+
# just needs a mapping.
1096+
verify_signed_json(signed, server, verify_key) # type: ignore[arg-type]
10951097

10961098
# We got the public key from the invite, so we know that the
10971099
# correct server signed the signed bundle.

0 commit comments

Comments
 (0)