EventIndex: Style fixes for the docstrings.
This commit is contained in:
parent
660240e2c0
commit
d9e933c915
1 changed files with 3 additions and 2 deletions
|
@ -69,7 +69,8 @@ export default class EventIndex {
|
||||||
client.removeListener('Room.timelineReset', this.onTimelineReset);
|
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() {
|
async addInitialCheckpoints() {
|
||||||
const indexManager = PlatformPeg.get().getEventIndexingManager();
|
const indexManager = PlatformPeg.get().getEventIndexingManager();
|
||||||
|
@ -80,7 +81,7 @@ export default class EventIndex {
|
||||||
return client.isRoomEncrypted(room.roomId);
|
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.
|
// rooms can use the search provided by the homeserver.
|
||||||
const encryptedRooms = rooms.filter(isRoomEncrypted);
|
const encryptedRooms = rooms.filter(isRoomEncrypted);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue