Cast to int here too
This commit is contained in:
committed by
Andrew Morgan
parent
efb77b87d1
commit
e750d031c8
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user