You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-30 02:21:17 +03:00
fix NPE
This commit is contained in:
@ -64,6 +64,8 @@ module.exports = React.createClass({
|
||||
},
|
||||
|
||||
_recalculateState: function() {
|
||||
if (!this.props.room) return;
|
||||
|
||||
var topic = this.props.room.currentState.getStateEvents('m.room.topic', '');
|
||||
var name = this.props.room.currentState.getStateEvents('m.room.name', '');
|
||||
|
||||
|
Reference in New Issue
Block a user