matrix-org / pantalaimon

E2EE aware proxy daemon for matrix clients.
Apache License 2.0
294 stars 42 forks source link

Do not fail if msgtype is not defined #85

Closed Half-Shot closed 3 years ago

Half-Shot commented 3 years ago

Pan will throw a KeyError if msgtype is not defined, however events can omit the msgtype in some cases. In any case, it should be up to the homeserver to validate this key rather than pan.