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) => { constants.condensedTypes.forEach((type) => {
if (obj[type]) { if (obj[type]) {
switch (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": case "chghost":
strings.push( strings.push(
obj[type] + obj[type] +

View File

@ -19,7 +19,7 @@ const colorCodeMap = [
["15", "Light Grey"], ["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 condensedTypesQuery = "." + condensedTypes.join(", .");
const timeFormats = { const timeFormats = {