Remove away/back condense as it won't be in channels
This commit is contained in:
parent
14c2cf6b0b
commit
3ed54a3e11
@ -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] +
|
||||||
|
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user