Skip to content

Commit

Permalink
move comment above return
Browse files Browse the repository at this point in the history
  • Loading branch information
bwindels committed Mar 22, 2021
1 parent 669213f commit 9d7c1b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sygnal/webpushpushkin.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ async def _dispatch_notification_unlimited(self, n, device, context):
"push gateway %s is not in allowed_endpoints, blocking request",
endpoint_domain,
)
# abort, but don't reject push key
return []
# don't reject push key though

if not p256dh or not endpoint or not auth:
logger.warn(
Expand Down

0 comments on commit 9d7c1b0

Please sign in to comment.