summary refs log tree commit diff
path: root/synapse/handlers/device.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2017-11-01 16:20:19 +0000
committerDavid Baker <dave@matrix.org>2017-11-01 16:20:19 +0000
commit4f0488b3070b53596bba78a6446ff09a1c50ca16 (patch)
tree0eeb49822a2f016e77a54ec77643b33dde0a301b /synapse/handlers/device.py
parentMove access token deletion into auth handler (diff)
parentMerge pull request #2615 from matrix-org/rav/break_auth_device_dep (diff)
downloadsynapse-4f0488b3070b53596bba78a6446ff09a1c50ca16.tar.xz
Merge remote-tracking branch 'origin/develop' into rav/refactor_accesstoken_delete
Diffstat (limited to 'synapse/handlers/device.py')
-rw-r--r--synapse/handlers/device.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/handlers/device.py b/synapse/handlers/device.py
index 5201e8be16..579d8477ba 100644
--- a/synapse/handlers/device.py
+++ b/synapse/handlers/device.py
@@ -162,7 +162,6 @@ class DeviceHandler(BaseHandler):
 
         yield self._auth_handler.delete_access_tokens_for_user(
             user_id, device_id=device_id,
-            delete_refresh_tokens=True,
         )
 
         yield self.store.delete_e2e_keys_by_device(
@@ -197,7 +196,6 @@ class DeviceHandler(BaseHandler):
         for device_id in device_ids:
             yield self._auth_handler.delete_access_tokens_for_user(
                 user_id, device_id=device_id,
-                delete_refresh_tokens=True,
             )
             yield self.store.delete_e2e_keys_by_device(
                 user_id=user_id, device_id=device_id