diff --git a/src/components/views/rooms/RoomTile.js b/src/components/views/rooms/RoomTile.js index 1c98b97559..e1b9567ebd 100644 --- a/src/components/views/rooms/RoomTile.js +++ b/src/components/views/rooms/RoomTile.js @@ -91,6 +91,8 @@ module.exports = React.createClass({ }, _getStatusMessageUser() { + if (!MatrixClientPeg.get()) return null; // We've probably been logged out + const selfId = MatrixClientPeg.get().getUserId(); const otherMember = this.props.room.currentState.getMembersExcept([selfId])[0]; if (!otherMember) {