diff options
author | David Baker <dave@matrix.org> | 2016-03-11 14:34:09 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-03-11 14:34:09 +0000 |
commit | af59826a2fda31a6382f60659796a1c8db6f21ce (patch) | |
tree | 5e0d88003085d6a66f8a3aadf879c3d5293c2825 /synapse/push | |
parent | Delete old, unused methods and rename new one to just be `user_delete_access_... (diff) | |
download | synapse-af59826a2fda31a6382f60659796a1c8db6f21ce.tar.xz |
Make select more sensible when dseleting access tokens, rename pusher deletion to match access token deletion and make exception arg optional.
Diffstat (limited to 'synapse/push')
-rw-r--r-- | synapse/push/pusherpool.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/pusherpool.py b/synapse/push/pusherpool.py index 28ec94d866..0b463c6fdb 100644 --- a/synapse/push/pusherpool.py +++ b/synapse/push/pusherpool.py @@ -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", |