Skip to content
Snippets Groups Projects
Unverified Commit 618c7b81 authored by Richard van der Hoff's avatar Richard van der Hoff Committed by GitHub
Browse files

Merge pull request #2656 from matrix-org/rav/fix_deactivate

Fix 'NoneType' not iterable in /deactivate
parents 0fcb5a8c 88910231
No related branches found
No related tags found
No related merge requests found
......@@ -241,7 +241,6 @@ class RegistrationStore(background_updates.BackgroundUpdateStore):
"user_set_password_hash", user_set_password_hash_txn
)
@defer.inlineCallbacks
def user_delete_access_tokens(self, user_id, except_token_id=None,
device_id=None):
"""
......@@ -290,7 +289,7 @@ class RegistrationStore(background_updates.BackgroundUpdateStore):
return tokens_and_devices
yield self.runInteraction(
return self.runInteraction(
"user_delete_access_tokens", f,
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment