synapse-product/synapse/push
Mark Haines ded01c3bf6 Fix `KeyError: 'msgtype'. Use .get`
Fixes a key error where the mailer tried to get the ``msgtype`` of an
event that was missing a ``msgtype``.

```
 File "synapse/push/mailer.py", line 264, in get_notif_vars
 File "synapse/push/mailer.py", line 285, in get_message_vars
 File ".../frozendict/__init__.py", line 10, in __getitem__
    return self.__dict[key]
    KeyError: 'msgtype'
```
2016-06-17 13:49:16 +01:00
..
__init__.py Remove code that's now been obsoleted or moved elsewhere 2016-04-07 16:31:38 +01:00
action_generator.py Use state to calculate get_users_in_room 2016-06-01 15:25:25 +01:00
baserules.py Fix the rule_id for .m.rule.invite_for_me (#715) 2016-04-11 16:10:39 +01:00
bulk_push_rule_evaluator.py Remove dead code. 2016-06-07 15:07:11 +01:00
clientformat.py Remove dead code. 2016-06-07 15:07:11 +01:00
emailpusher.py Merge remote-tracking branch 'origin/develop' into dbkr/email_unsubscribe 2016-06-02 15:33:28 +01:00
httppusher.py Optionally split out the pushers into a separate process 2016-04-21 17:22:37 +01:00
mailer.py Fix `KeyError: 'msgtype'. Use .get` 2016-06-17 13:49:16 +01:00
push_rule_evaluator.py Remove code that's now been obsoleted or moved elsewhere 2016-04-07 16:31:38 +01:00
push_tools.py increment badge count per missed convo, not per msg 2016-05-18 11:53:25 +01:00
pusher.py Fix emailpusher import 2016-05-16 18:41:32 +01:00
pusherpool.py Unused import 2016-05-04 11:26:58 +01:00
rulekinds.py copyrights 2016-01-07 04:26:29 +00:00