mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-09-09 15:51:58 +00: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