forked from mystiq/hydrogen-web
Remove comment
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
e406aa6e45
commit
960f2c283e
1 changed files with 0 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue