synapse-product/synapse
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
..
api Working unsubscribe links going straight to the HS 2016-06-02 17:21:31 +01:00
app Fix setting gc thresholds in the workers 2016-06-17 11:48:12 +01:00
appservice Move the AS handler out of the Handlers object. 2016-05-31 13:53:48 +01:00
config Use worker_ prefixes for worker config, use existing support for multiple config files 2016-06-16 17:29:50 +01:00
crypto Uncommit accidentally commited edit to cipher list 2016-05-10 18:44:32 +02:00
events Add sensible __eq__ operators inside the tests. 2016-04-07 16:41:37 +01:00
federation Linearize fetching of gaps on incoming events 2016-06-15 15:16:14 +01:00
handlers Fix TypeError in call to bcrypt.hashpw 2016-06-16 00:43:42 -04:00
http Work around TLS bug in twisted 2016-06-15 10:39:08 +01:00
metrics Don't track total objects as its too expensive to calculate 2016-06-07 17:00:45 +01:00
push Fix `KeyError: 'msgtype'. Use .get` 2016-06-17 13:49:16 +01:00
replication Remove event fetching from DB threads 2016-06-03 17:22:13 +01:00
rest Line lengths 2016-06-15 16:58:12 +01:00
static/client Updates to fallback CAS login to do new token login 2015-11-06 09:57:17 +00:00
storage Use worker_ prefixes for worker config, use existing support for multiple config files 2016-06-16 17:29:50 +01:00
streams Hook up the push rules to the notifier 2016-03-03 14:57:45 +00:00
util Merge branch 'erikj/cache_perf' of github.com:matrix-org/synapse into develop 2016-06-03 12:00:33 +01:00
__init__.py Bump version and changelog 2016-06-15 15:50:48 +01:00
notifier.py Notify users for events in rooms they join. 2016-06-07 11:33:36 +01:00
python_dependencies.py Merge remote-tracking branch 'origin/develop' into dbkr/email_notifs 2016-04-29 10:05:20 +01:00
server.py Use worker_ prefixes for worker config, use existing support for multiple config files 2016-06-16 17:29:50 +01:00
state.py Always use state cache entry if it exists 2016-04-20 11:49:10 +01:00
types.py Make get_domain_from_id throw SynapseError on invalid ID 2016-06-14 13:25:29 +01:00
visibility.py move filter_events_for_client out of base handler 2016-05-11 13:42:37 +01:00