Remove away/back condense as it won't be in channels

This commit is contained in:
Pavel Djundik 2019-11-05 12:37:55 +02:00
parent 14c2cf6b0b
commit 3ed54a3e11
2 changed files with 1 additions and 17 deletions

View file

@ -55,22 +55,6 @@ export default {
constants.condensedTypes.forEach((type) => {
if (obj[type]) {
switch (type) {
case "away":
strings.push(
obj[type] +
(obj[type] > 1
? " users have gone away"
: " user has gone away")
);
break;
case "back":
strings.push(
obj[type] +
(obj[type] > 1
? " users have come back"
: " user has come back")
);
break;
case "chghost":
strings.push(
obj[type] +

View file

@ -19,7 +19,7 @@ const colorCodeMap = [
["15", "Light Grey"],
];
const condensedTypes = ["away", "back", "chghost", "join", "part", "quit", "nick", "kick", "mode"];
const condensedTypes = ["chghost", "join", "part", "quit", "nick", "kick", "mode"];
const condensedTypesQuery = "." + condensedTypes.join(", .");
const timeFormats = {