You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
EventIndex: Style fixes for the docstrings.
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user