diff options
author | David Baker <dave@matrix.org> | 2016-04-19 14:24:36 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-04-19 14:24:36 +0100 |
commit | 07d765209dea12229e70a09784e647611acabcda (patch) | |
tree | 08a6e675544322049e0e9ed014afed8a77aa4a78 /synapse/push/pusher.py | |
parent | Merge pull request #735 from matrix-org/erikj/media_resource_cleanup (diff) | |
download | synapse-07d765209dea12229e70a09784e647611acabcda.tar.xz |
First bits of emailpusher
Mostly logic of when to send an email
Diffstat (limited to 'synapse/push/pusher.py')
-rw-r--r-- | synapse/push/pusher.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/push/pusher.py b/synapse/push/pusher.py index 4960837504..f7c3021fcc 100644 --- a/synapse/push/pusher.py +++ b/synapse/push/pusher.py @@ -1,7 +1,9 @@ from httppusher import HttpPusher +from emailpusher import EmailPusher PUSHER_TYPES = { - 'http': HttpPusher + 'http': HttpPusher, + 'email': EmailPusher, } |