mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-28 15:08:49 +03:00
Fix wrong number of arguments
This commit is contained in:
parent
8d34120a53
commit
66b121b2fc
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class PusherFactory(object):
|
|||
logger.info("found pusher")
|
||||
return self.pusher_types[pusherdict['kind']](self.hs, pusherdict)
|
||||
|
||||
def _create_email_pusher(self, pusherdict):
|
||||
def _create_email_pusher(self, _hs, pusherdict):
|
||||
app_name = self._brand_from_pusherdict
|
||||
mailer = self.mailers.get(app_name)
|
||||
if not mailer:
|
||||
|
|
Loading…
Reference in a new issue