summary refs log tree commit diff
path: root/synapse/storage/devices.py
diff options
context:
space:
mode:
authorRichard van der Hoff <github@rvanderhoff.org.uk>2017-11-14 11:43:12 +0000
committerGitHub <noreply@github.com>2017-11-14 11:43:12 +0000
commit6caa379ba18ff4cb6d14a8b9c4cd6b76a618c768 (patch)
tree060360abe1d868d0802e7718e8799a6925ea6440 /synapse/storage/devices.py
parentMerge pull request #2668 from turt2live/travis/whoami (diff)
parentFix tests for Store.__init__ update (diff)
downloadsynapse-6caa379ba18ff4cb6d14a8b9c4cd6b76a618c768.tar.xz
Merge pull request #2658 from matrix-org/rav/store_heirarchy_init
Make __init__ consistent across Store hierarchy
Diffstat (limited to 'synapse/storage/devices.py')
-rw-r--r--synapse/storage/devices.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/devices.py b/synapse/storage/devices.py
index bb27fd1f70..bd2effdf34 100644
--- a/synapse/storage/devices.py
+++ b/synapse/storage/devices.py
@@ -26,8 +26,8 @@ logger = logging.getLogger(__name__)
 
 
 class DeviceStore(SQLBaseStore):
-    def __init__(self, hs):
-        super(DeviceStore, self).__init__(hs)
+    def __init__(self, db_conn, hs):
+        super(DeviceStore, self).__init__(db_conn, hs)
 
         # Map of (user_id, device_id) -> bool. If there is an entry that implies
         # the device exists.