This commit is contained in:
David Baker 2015-03-26 14:12:06 +00:00
parent a32e876ef4
commit 6f4f7e4e22

View file

@ -106,8 +106,10 @@ class PusherPool:
user_id, not_access_token_id user_id, not_access_token_id
) )
for p in all: for p in all:
if (p['user_name'] == user_id and if (
p['access_token'] != not_access_token_id): p['user_name'] == user_id and
p['access_token'] != not_access_token_id
):
logger.info( logger.info(
"Removing pusher for app id %s, pushkey %s, user %s", "Removing pusher for app id %s, pushkey %s, user %s",
p['app_id'], p['pushkey'], p['user_name'] p['app_id'], p['pushkey'], p['user_name']