FilePanel: Remove whitespace before two function definitions.

This commit is contained in:
Damir Jelić 2020-01-22 16:31:49 +01:00
parent c5e8753b05
commit c3418df919

View File

@ -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 (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;
const eventId = ev.getId();