mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 04:24:52 -04:00
Code-style fixes
This commit is contained in:
parent
697ab75a34
commit
b085fac735
11 changed files with 57 additions and 36 deletions
|
@ -34,8 +34,8 @@ class PusherRestServlet(ClientV1RestServlet):
|
|||
pusher_pool = self.hs.get_pusherpool()
|
||||
|
||||
if ('pushkey' in content and 'app_id' in content
|
||||
and 'kind' in content and
|
||||
content['kind'] is None):
|
||||
and 'kind' in content and
|
||||
content['kind'] is None):
|
||||
yield pusher_pool.remove_pusher(
|
||||
content['app_id'], content['pushkey']
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue