Browse Source

Revert "unicode-related channel sorting fixes"

This reverts commit a042980b88e103e6c5527d30996a9ddf80a3d818.
Andrew Dolgov 1 year ago
parent
commit
7ec84f1ec7
1 changed files with 1 additions and 6 deletions
  1. 1 6
      js/tt-irc.js

+ 1 - 6
js/tt-irc.js

@@ -1732,12 +1732,7 @@ function handle_chan_data(chandata) {
 					channel.topic(chandata[connection_id][chan]["topic"]);
 
 					conn.channels.sort(function(a, b) {
-						if (a.title().match(/^#\w/) && !b.title().match(/^#\w/))
-							return -1;
-						else if (!a.title().match(/^#\w/) && b.title().match(/^#\w/))
-							return 1;
-						else
-							return a.title().localeCompare(b.title());
+						return a.title().localeCompare(b.title());
 					});
 
 					if (tab_type == "C") {