mirror of
https://github.com/thelounge/thelounge.git
synced 2026-03-14 14:35:50 +01:00
Move condensedTypes to shared/
This decouples the rest of the server from the client
This commit is contained in:
parent
6f13735a7f
commit
b7540b5827
8 changed files with 34 additions and 39 deletions
|
|
@ -4,3 +4,15 @@ const matchFormatting =
|
|||
export function cleanIrcMessage(message: string) {
|
||||
return message.replace(matchFormatting, "").trim();
|
||||
}
|
||||
|
||||
export const condensedTypes = new Set([
|
||||
"away",
|
||||
"back",
|
||||
"chghost",
|
||||
"join",
|
||||
"kick",
|
||||
"mode",
|
||||
"nick",
|
||||
"part",
|
||||
"quit",
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue