0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-16 15:01:23 +01:00

Fix typo when getting app name

This commit is contained in:
Erik Johnston 2017-06-06 11:50:07 +01:00
parent 66b121b2fc
commit cca94272fa

View file

@ -58,7 +58,7 @@ class PusherFactory(object):
return self.pusher_types[pusherdict['kind']](self.hs, pusherdict) return self.pusher_types[pusherdict['kind']](self.hs, pusherdict)
def _create_email_pusher(self, _hs, pusherdict): def _create_email_pusher(self, _hs, pusherdict):
app_name = self._brand_from_pusherdict app_name = self._app_name_from_pusherdict(pusherdict)
mailer = self.mailers.get(app_name) mailer = self.mailers.get(app_name)
if not mailer: if not mailer:
mailer = Mailer( mailer = Mailer(