mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 14:05:04 +08:00
typos
This commit is contained in:
parent
e92024f7a9
commit
6bf5499289
@ -240,7 +240,7 @@ module.exports = React.createClass({
|
|||||||
this._onRoomLoaded(this.state.room);
|
this._onRoomLoaded(this.state.room);
|
||||||
}
|
}
|
||||||
|
|
||||||
_updatePreviewUrlVisibility(this.state.room);
|
this._updatePreviewUrlVisibility(this.state.room);
|
||||||
},
|
},
|
||||||
|
|
||||||
shouldComponentUpdate: function(nextProps, nextState) {
|
shouldComponentUpdate: function(nextProps, nextState) {
|
||||||
@ -343,8 +343,8 @@ module.exports = React.createClass({
|
|||||||
// ignore events for other rooms
|
// ignore events for other rooms
|
||||||
if (!this.state.room || room.roomId != this.state.room.roomId) return;
|
if (!this.state.room || room.roomId != this.state.room.roomId) return;
|
||||||
|
|
||||||
if (event.getType() === "org.matrix.room.preview_urls") {
|
if (ev.getType() === "org.matrix.room.preview_urls") {
|
||||||
_updatePreviewUrlVisibility(room);
|
this._updatePreviewUrlVisibility(room);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ignore anything but real-time updates at the end of the room:
|
// ignore anything but real-time updates at the end of the room:
|
||||||
|
Loading…
Reference in New Issue
Block a user