mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 15:08:24 +00: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