Merge remote-tracking branch 'origin/develop' into develop

pull/21833/head
Weblate 2018-04-03 16:52:01 +00:00
commit 7ea67c03e7
1 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,8 @@ module.exports = React.createClass({
},
onRoomStateEvents: function(ev) {
if (ev.getRoomId() !== this.props.room.roomId ||
if (!this.props.room ||
ev.getRoomId() !== this.props.room.roomId ||
ev.getType() !== 'm.room.avatar'
) return;