mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 18:25:49 +03:00
FilePanel: Remove whitespace before two function definitions.
This commit is contained in:
parent
c5e8753b05
commit
c3418df919
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue