EventIndex: Style fixes for the docstrings.

pull/21833/head
Damir Jelić 2020-01-24 11:15:57 +01:00
parent 660240e2c0
commit d9e933c915
1 changed files with 3 additions and 2 deletions

View File

@ -69,7 +69,8 @@ export default class EventIndex {
client.removeListener('Room.timelineReset', this.onTimelineReset);
}
/** Get crawler checkpoints for the encrypted rooms and store them in the index.
/**
* Get crawler checkpoints for the encrypted rooms and store them in the index.
*/
async addInitialCheckpoints() {
const indexManager = PlatformPeg.get().getEventIndexingManager();
@ -80,7 +81,7 @@ export default class EventIndex {
return client.isRoomEncrypted(room.roomId);
};
// We only care to crawl the encrypted rooms, non-encrypted.
// We only care to crawl the encrypted rooms, non-encrypted
// rooms can use the search provided by the homeserver.
const encryptedRooms = rooms.filter(isRoomEncrypted);