mirror of https://github.com/vector-im/riot-web
null check
parent
a849955c51
commit
a90f63f72c
|
@ -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 New Issue