diff --git a/src/components/structures/TimelinePanel.js b/src/components/structures/TimelinePanel.js index 9b4d5200a5..0b7b315915 100644 --- a/src/components/structures/TimelinePanel.js +++ b/src/components/structures/TimelinePanel.js @@ -556,6 +556,9 @@ const TimelinePanel = React.createClass({ }, onEventDecrypted: function(ev) { + // Can be null for the notification timeline, etc. + if (!this.props.timelineSet.room) return; + // Need to update as we don't display event tiles for events that // haven't yet been decrypted. The event will have just been updated // in place so we just need to re-render.