Use variable name instead of _

This commit is contained in:
Jorik Schellekens 2020-07-20 20:51:07 +01:00
parent 3cf8dff70d
commit 6433e163f7
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ import { EffectiveMembership, getEffectiveMembership } from "../../../../utils/m
* useful to the user.
*/
export class RecentAlgorithm implements IAlgorithm {
public async sortRooms(rooms: Room[], tagID: TagID): Promise<Room[]> {
public async sortRooms(rooms: Room[], tagId: TagID): Promise<Room[]> {
// We cache the timestamp lookup to avoid iterating forever on the timeline
// of events. This cache only survives a single sort though.
// We wouldn't need this if `.sort()` didn't constantly try and compare all