null check
This commit is contained in:
parent
a849955c51
commit
a90f63f72c
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ module.exports = React.createClass({
|
|||
hasUnsentMessages: this._hasUnsentMessages(room),
|
||||
callState: null,
|
||||
guestsCanJoin: false,
|
||||
readMarkerEventId: room.getEventReadUpTo(MatrixClientPeg.get().credentials.userId),
|
||||
readMarkerEventId: room ? room.getEventReadUpTo(MatrixClientPeg.get().credentials.userId) : null,
|
||||
readMarkerGhostEventId: undefined
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue