mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:06:07 -04:00
Make select more sensible when dseleting access tokens, rename pusher deletion to match access token deletion and make exception arg optional.
This commit is contained in:
parent
f523177850
commit
af59826a2f
3 changed files with 5 additions and 7 deletions
|
@ -92,7 +92,7 @@ class PusherPool:
|
|||
yield self.remove_pusher(p['app_id'], p['pushkey'], p['user_name'])
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def remove_pushers_by_user_except_access_tokens(self, user_id, except_token_ids):
|
||||
def remove_pushers_by_user(self, user_id, except_token_ids=[]):
|
||||
all = yield self.store.get_all_pushers()
|
||||
logger.info(
|
||||
"Removing all pushers for user %s except access tokens ids %r",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue