EventIndex: Remove some unused variables and some trailing whitespace.
This commit is contained in:
parent
21f00aaeb1
commit
d2a9918359
2 changed files with 1 additions and 5 deletions
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
||||
|
|
Loading…
Reference in a new issue