Skip to content

Commit

Permalink
Added multi-player instant-messenging to comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
b100dian committed Dec 7, 2020
1 parent e7c4836 commit a10e18b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qml/pages/ChannelList.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ function compareChannels(a, b) {
result = compareByBool(a, b, "is_private", false);
if (result) return result;

result = compareByBool(a, b, "is_mpim", true);
if (result) return result;

return Channel.compareByName(a, b)
}

Expand Down

0 comments on commit a10e18b

Please sign in to comment.