summary refs log tree commit diff
path: root/synapse/push
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-06-06 11:50:07 +0100
committerErik Johnston <erik@matrix.org>2017-06-06 11:50:07 +0100
commitcca94272fa9dc47f23585e3a33484384734c62bc (patch)
tree23e7838a8b2dcf8cbac2549a67ab380359774021 /synapse/push
parentFix wrong number of arguments (diff)
downloadsynapse-cca94272fa9dc47f23585e3a33484384734c62bc.tar.xz
Fix typo when getting app name
Diffstat (limited to 'synapse/push')
-rw-r--r--synapse/push/pusher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/pusher.py b/synapse/push/pusher.py
index f2c8eb870f..491f27bded 100644
--- a/synapse/push/pusher.py
+++ b/synapse/push/pusher.py
@@ -58,7 +58,7 @@ class PusherFactory(object):
             return self.pusher_types[pusherdict['kind']](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)
         if not mailer:
             mailer = Mailer(