summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-03-03 15:31:57 +0000
committerErik Johnston <erik@matrix.org>2017-03-03 15:31:57 +0000
commit9834367eeaecd7f356cf7cda1e1b3eb79f8f2ea2 (patch)
tree9f39edfc6ea5233cdc8478c968dab4d83faadd94 /synapse
parentFix device list update to not constantly resync (diff)
downloadsynapse-9834367eeaecd7f356cf7cda1e1b3eb79f8f2ea2.tar.xz
Spelling
Diffstat (limited to 'synapse')
-rw-r--r--synapse/handlers/device.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/device.py b/synapse/handlers/device.py
index 23dab53df1..540b438797 100644
--- a/synapse/handlers/device.py
+++ b/synapse/handlers/device.py
@@ -336,7 +336,7 @@ class DeviceListEduUpdater(object):
         self.clock = hs.get_clock()
         self.device_handler = device_handler
 
-        self._remote_edue_linearizer = Linearizer(name="remote_device_list")
+        self._remote_edu_linearizer = Linearizer(name="remote_device_list")
 
         # user_id -> list of updates waiting to be handled.
         self._pending_updates = {}
@@ -380,7 +380,7 @@ class DeviceListEduUpdater(object):
     def _handle_device_updates(self, user_id):
         "Actually handle pending updates."
 
-        with (yield self._remote_edue_linearizer.queue(user_id)):
+        with (yield self._remote_edu_linearizer.queue(user_id)):
             pending_updates = self._pending_updates.pop(user_id, [])
             if not pending_updates:
                 # This can happen since we batch updates