mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-15 14:32:30 +01:00
Cast to int here too
This commit is contained in:
parent
12941f5f8b
commit
e0934acdbb
1 changed files with 5 additions and 0 deletions
|
@ -118,6 +118,11 @@ class EndToEndRoomKeyStore(SQLBaseStore):
|
||||||
these room keys.
|
these room keys.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
try:
|
||||||
|
version = int(version)
|
||||||
|
except ValueError:
|
||||||
|
defer.returnValue({'rooms': {}})
|
||||||
|
|
||||||
keyvalues = {
|
keyvalues = {
|
||||||
"user_id": user_id,
|
"user_id": user_id,
|
||||||
"version": version,
|
"version": version,
|
||||||
|
|
Loading…
Reference in a new issue