summary refs log tree commit diff
path: root/synapse/storage/registration.py
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-06-19 11:32:38 +0100
committerGitHub <noreply@github.com>2019-06-19 11:32:38 +0100
commit10f9e35b43957613e089620526ab2cb852f73100 (patch)
treeb2eabd8d3ac443d98198db0c52c0e7ddeee38e5f /synapse/storage/registration.py
parentMerge pull request #4276 from Ralith/performance-advice (diff)
parentFix typo in deactivation background job (diff)
downloadsynapse-10f9e35b43957613e089620526ab2cb852f73100.tar.xz
Merge pull request #5493 from matrix-org/babolivier/deactivate_bg_job_typo
Fix typo in deactivation background job
Diffstat (limited to 'synapse/storage/registration.py')
-rw-r--r--synapse/storage/registration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/registration.py b/synapse/storage/registration.py
index d36917e4d6..0b3c656e90 100644
--- a/synapse/storage/registration.py
+++ b/synapse/storage/registration.py
@@ -662,7 +662,7 @@ class RegistrationStore(
 
             for user in rows:
                 if not user["count_tokens"] and not user["count_threepids"]:
-                    self.set_user_deactivated_status_txn(txn, user["user_id"], True)
+                    self.set_user_deactivated_status_txn(txn, user["name"], True)
                     rows_processed_nb += 1
 
             logger.info("Marked %d rows as deactivated", rows_processed_nb)