matrix-react-sdk
fae7af1a - Do proper null-checks on decypted events to fix NPEs

Commit
8 years ago
Do proper null-checks on decypted events to fix NPEs Previously we assumed that a decrypted event has a room_id but this isn't necessarily true for to_device events. It makes sense to ignore events that aren't associated with rooms anyway given that the list we're updating only contains rooms!
Author
Committer
Parents
Loading