Appease the linter

pull/21833/head
Travis Ralston 2018-11-01 14:46:39 -06:00
parent 5558b7a3b2
commit 272acfa2f5
1 changed files with 3 additions and 1 deletions

View File

@ -226,7 +226,9 @@ class RoomListStore extends Store {
let comparator;
switch (RoomListStore._listOrders[listKey]) {
case "recent":
comparator = (roomA, roomB) => this._recentsComparator(roomA, roomB, pinUnread, pinMentioned);
comparator = (roomA, roomB) => {
return this._recentsComparator(roomA, roomB, pinUnread, pinMentioned);
};
break;
case "manual":
default: