Skip to content

Commit 43b909e

Browse files
committed
Fix incorrect sort type
1 parent cfaa06d commit 43b909e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/stores/room-list-v3/skip-list/sorters/UnreadSorter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ import { BaseRecencySorter } from "./BaseRecencySorter";
1919
* Invites -> Calls (new and ongoing) -> Mentions (@) -> Count ([1])/ Marked as unread -> Activity (dot) -> None -> Low Priority -> Mute
2020
*/
2121
export class UnreadSorter extends BaseRecencySorter implements Sorter {
22-
public get type(): SortingAlgorithm.Recency {
23-
return SortingAlgorithm.Recency;
22+
public get type(): SortingAlgorithm.Unread {
23+
return SortingAlgorithm.Unread;
2424
}
2525

2626
protected getScore(room: Room): number {

0 commit comments

Comments
 (0)