mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Dear PyCharm, please indent sensibly for me. Thx.
This commit is contained in:
parent
aa11db5f11
commit
57c444b3ad
@ -439,10 +439,10 @@ class AuthHandler(BaseHandler):
|
||||
|
||||
yield self.store.user_set_password_hash(user_id, password_hash)
|
||||
yield self.store.user_delete_access_tokens_except(
|
||||
user_id, except_access_token_ids
|
||||
user_id, except_access_token_ids
|
||||
)
|
||||
yield self.hs.get_pusherpool().remove_pushers_by_user_except_access_tokens(
|
||||
user_id, except_access_token_ids
|
||||
user_id, except_access_token_ids
|
||||
)
|
||||
|
||||
@defer.inlineCallbacks
|
||||
|
@ -212,7 +212,7 @@ class RegistrationStore(SQLBaseStore):
|
||||
def f(txn):
|
||||
txn.execute(
|
||||
"SELECT id, token FROM access_tokens WHERE user_id = ? LIMIT 50",
|
||||
(user_id,)
|
||||
(user_id,)
|
||||
)
|
||||
rows = txn.fetchall()
|
||||
for r in rows:
|
||||
|
Loading…
Reference in New Issue
Block a user