Add an email pusher for new users

If they registered with an email address and email notifs are enabled on the HS
This commit is contained in:
David Baker 2016-04-29 11:43:57 +01:00
parent ec9cbe847d
commit b2c04da8dc
2 changed files with 27 additions and 0 deletions

View file

@ -50,6 +50,7 @@ class PusherPool:
# recreated, added and started: this means we have only one
# code path adding pushers.
pusher.create_pusher(self.hs, {
"id": None,
"user_name": user_id,
"kind": kind,
"app_id": app_id,