EventIndex: Remove some unused variables and some trailing whitespace.
parent
21f00aaeb1
commit
d2a9918359
|
@ -113,8 +113,6 @@ export default class EventIndex {
|
||||||
}
|
}
|
||||||
|
|
||||||
async onRoomTimeline(ev, room, toStartOfTimeline, removed, data) {
|
async onRoomTimeline(ev, room, toStartOfTimeline, removed, data) {
|
||||||
const indexManager = PlatformPeg.get().getEventIndexingManager();
|
|
||||||
|
|
||||||
// We only index encrypted rooms locally.
|
// We only index encrypted rooms locally.
|
||||||
if (!MatrixClientPeg.get().isRoomEncrypted(room.roomId)) return;
|
if (!MatrixClientPeg.get().isRoomEncrypted(room.roomId)) return;
|
||||||
|
|
||||||
|
@ -138,8 +136,6 @@ export default class EventIndex {
|
||||||
}
|
}
|
||||||
|
|
||||||
async onEventDecrypted(ev, err) {
|
async onEventDecrypted(ev, err) {
|
||||||
const indexManager = PlatformPeg.get().getEventIndexingManager();
|
|
||||||
|
|
||||||
const eventId = ev.getId();
|
const eventId = ev.getId();
|
||||||
|
|
||||||
// If the event isn't in our live event set, ignore it.
|
// If the event isn't in our live event set, ignore it.
|
||||||
|
|
Loading…
Reference in New Issue