mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 22:14:58 +08:00
FilePanel: Remove whitespace before two function definitions.
This commit is contained in:
parent
c5e8753b05
commit
c3418df919
@ -42,7 +42,7 @@ const FilePanel = createReactClass({
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
onRoomTimeline (ev, room, toStartOfTimeline, removed, data) {
|
onRoomTimeline(ev, room, toStartOfTimeline, removed, data) {
|
||||||
if (room.roomId !== this.props.roomId) return;
|
if (room.roomId !== this.props.roomId) return;
|
||||||
if (toStartOfTimeline || !data || !data.liveEvent || ev.isRedacted()) return;
|
if (toStartOfTimeline || !data || !data.liveEvent || ev.isRedacted()) return;
|
||||||
|
|
||||||
@ -53,7 +53,7 @@ const FilePanel = createReactClass({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
onEventDecrypted (ev, err) {
|
onEventDecrypted(ev, err) {
|
||||||
if (ev.getRoomId() !== this.props.roomId) return;
|
if (ev.getRoomId() !== this.props.roomId) return;
|
||||||
const eventId = ev.getId();
|
const eventId = ev.getId();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user