mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 18:54:57 -04:00
More bug fixes
This commit is contained in:
parent
ee3df06183
commit
609c31e8df
5 changed files with 35 additions and 30 deletions
|
@ -39,7 +39,7 @@ def check_event_content_hash(event, hash_algorithm=hashlib.sha256):
|
|||
),
|
||||
Codes.UNAUTHORIZED,
|
||||
)
|
||||
message_hash_base64 = event.hashes[name.name]
|
||||
message_hash_base64 = event.hashes[name]
|
||||
try:
|
||||
message_hash_bytes = decode_base64(message_hash_base64)
|
||||
except:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue