Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Do proper null-checks on decypted events to fix NPEs #1776

Merged
merged 1 commit into from
Feb 23, 2018

Conversation

lukebarnard1
Copy link
Contributor

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!

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!
@dbkr dbkr merged commit d23cb4d into develop Feb 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants