1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

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

This commit is contained in:
Weblate
2018-04-03 16:52:01 +00:00

View File

@@ -66,7 +66,8 @@ module.exports = React.createClass({
}, },
onRoomStateEvents: function(ev) { 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' ev.getType() !== 'm.room.avatar'
) return; ) return;