mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-23 17:23:55 +00:00
Merge pull request #5493 from matrix-org/babolivier/deactivate_bg_job_typo
Fix typo in deactivation background job
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -0,0 +1 @@
|
||||
Track deactivated accounts in the database.
|
||||
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user