Remove comment

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-07-15 17:02:07 +05:30
parent e406aa6e45
commit 960f2c283e

View file

@ -2,7 +2,6 @@ import {PowerLevels} from "../../../matrix/room/timeline/PowerLevels.js";
export function createMemberComparator(powerLevels) { export function createMemberComparator(powerLevels) {
const collator = new Intl.Collator(); const collator = new Intl.Collator();
//TODO: This is so that all names with @ do not club together; but do we care?
const removeCharacter = string => string.charAt(0) === "@"? string.slice(1) : string; const removeCharacter = string => string.charAt(0) === "@"? string.slice(1) : string;
return function comparator(member, otherMember) { return function comparator(member, otherMember) {