mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-29 01:36:14 -05:00
Cast to int here too
This commit is contained in:
parent
12941f5f8b
commit
e0934acdbb
@ -118,6 +118,11 @@ class EndToEndRoomKeyStore(SQLBaseStore):
|
||||
these room keys.
|
||||
"""
|
||||
|
||||
try:
|
||||
version = int(version)
|
||||
except ValueError:
|
||||
defer.returnValue({'rooms': {}})
|
||||
|
||||
keyvalues = {
|
||||
"user_id": user_id,
|
||||
"version": version,
|
||||
|
Loading…
Reference in New Issue
Block a user