EventIndex: Remove some unused variables and some trailing whitespace.

This commit is contained in:
Damir Jelić 2019-11-19 09:26:46 +01:00
parent 21f00aaeb1
commit d2a9918359
2 changed files with 1 additions and 5 deletions

View file

@ -113,8 +113,6 @@ export default class EventIndex {
}
async onRoomTimeline(ev, room, toStartOfTimeline, removed, data) {
const indexManager = PlatformPeg.get().getEventIndexingManager();
// We only index encrypted rooms locally.
if (!MatrixClientPeg.get().isRoomEncrypted(room.roomId)) return;
@ -138,8 +136,6 @@ export default class EventIndex {
}
async onEventDecrypted(ev, err) {
const indexManager = PlatformPeg.get().getEventIndexingManager();
const eventId = ev.getId();
// If the event isn't in our live event set, ignore it.

View file

@ -15,7 +15,7 @@ limitations under the License.
*/
/*
* Object holding the global EventIndex object. Can only be initialized if the
* Object holding the global EventIndex object. Can only be initialized if the
* platform supports event indexing.
*/