PLT-5700 Fixing channel sorting in android and ios (#343)

This commit is contained in:
enahum 2017-03-13 13:39:12 -03:00 committed by GitHub
parent 13c624b722
commit a684c0f45b

View file

@ -167,7 +167,7 @@ export function completeDirectChannelInfo(usersState, myPreferences, channel) {
}
export function buildDisplayNameAndTypeComparable(channel) {
return (typeToPrefixMap[channel.type] || defaultPrefix) + channel.display_name + channel.name;
return (typeToPrefixMap[channel.type] || defaultPrefix) + channel.display_name.toLocaleLowerCase() + channel.name.toLocaleLowerCase();
}
function not(f) {