diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 07774728..8fab3844 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -8,6 +8,7 @@ on: jobs: deploy: + if: "!startsWith(github.event.head_commit.message, '[skip ci]')" runs-on: ubuntu-latest steps: diff --git a/README.md b/README.md index 772427ec..3310dd15 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # mppnet +Please make changes to the `dev` branch and make pull requests to there. All changes in the dev branch get put in https://dev.multiplayerpiano.net. From there, I will make a pull request to main, where it gets put in the main site, https://multiplayerpiano.net. + The unminified client files for [MPPNet](https://multiplayerpiano.net). diff --git a/client/locales/bg/translation.json b/client/locales/bg/translation.json index 83e2060a..32cbdef4 100644 --- a/client/locales/bg/translation.json +++ b/client/locales/bg/translation.json @@ -99,5 +99,6 @@ "Mention": "Спомени", "Give Crown": "Дай Корона", "Kickban": "Изхвърли", - "Me": "Аз" + "Me": "Аз", + "Language": "Език" } diff --git a/client/locales/cs/translation.json b/client/locales/cs/translation.json index 54730bf0..5d48cb0d 100644 --- a/client/locales/cs/translation.json +++ b/client/locales/cs/translation.json @@ -38,7 +38,7 @@ "MIDI Connections": "MIDI připojení", "Multiplayer Piano": "Multiplayer Piano", "Joining channel...": "Připojování do kanálu…", - "Synthesize": "Syntezátor", + "Synthesize": "Syntetizovat", "ON/OFF": "ON/OFF", "square": "čtvercová", "sine": "sinusová", @@ -100,5 +100,6 @@ "Player limit:": "Limit hráčů:", "APPLY": "POUŽÍT", "Ask bots not to index this room": "Požádat boty o přeskočení skenování místnosti", - "Me": "Já" + "Me": "Já", + "Language": "" } diff --git a/client/locales/de/translation.json b/client/locales/de/translation.json index 570d2127..1ad37a43 100644 --- a/client/locales/de/translation.json +++ b/client/locales/de/translation.json @@ -29,7 +29,7 @@ "No Cussing": "Keine Fluchen", "Inner color:": "Innere farbe:", "Outer color:": "Äußere Farbe:", - "Player limit:": "Spieler Limit lol", + "Player limit:": "Spieler Limit:", "Years": "Jahre", "ON/OFF": "AN/AUS", "APPLY": "ANWENDEN", diff --git a/client/locales/fr/translation.json b/client/locales/fr/translation.json index 0a6b1032..0e673231 100644 --- a/client/locales/fr/translation.json +++ b/client/locales/fr/translation.json @@ -100,5 +100,6 @@ "Hide Cursor": "Cacher le curseur", "Mute Chat": "Faire taire les messages", "Direct Message": "Message privé", - "Me": "Moi" + "Me": "Moi", + "Language": "" } diff --git a/client/locales/hu/translation.json b/client/locales/hu/translation.json index e439bd46..f1d6b432 100644 --- a/client/locales/hu/translation.json +++ b/client/locales/hu/translation.json @@ -5,5 +5,100 @@ "room name": "szoba neve", "Visible (open to everyone)": "Látható (nyitott mindenki számára)", "Enable Chat": "a csevegést", - "Play Alone": "Játssz egyedül" + "Play Alone": "Játssz egyedül", + "Don't use prevent default:": "", + "Show user IDs in chat:": "", + "MPPNet Discord": "", + "Get Crown": "", + "Duration:": "", + "Seconds": "", + "Show ID tooltips:": "", + "sine": "", + "User ID:": "", + "Reason:": "", + "Permanent": "", + "Multiplayer Piano": "", + "Years": "", + "Show piano notes:": "", + "Did you know!?!": "", + "Outputs": "", + "Synthesize": "", + "Force dark background:": "", + "APPLY": "", + "Clear Chat": "", + "Inner color:": "", + "Hide all cursors:": "", + "MPPNet Reddit": "", + "Enable smooth cursors:": "", + "Minutes": "", + "Client Settings": "", + "User's ID": "", + "Room Settings": "", + "BAN": "", + "Note:": "", + "Drop crown": "", + "MPPNet Community Forum": "", + "Misc": "", + "square": "", + "MIDI In/Out": "", + "MIDI Connections": "", + "Months": "", + "sawtooth": "", + "MPPNet Frontend Repo": "", + "Weeks": "", + "Piano": "", + "Synth": "", + "Discord": "", + "triangle": "", + "No Cussing": "", + "Multiplayer Piano Rules": "", + "Hours": "", + "Vanish": "", + "Only Owner can Play": "", + "Log out": "", + "Rules": "", + "You can chat with this thing.": "", + "Highlighted notes:": "", + "Output own notes to MIDI:": "", + "Volume": "", + "Virtual Piano layout:": "", + "ON/OFF": "", + "Hide chat:": "", + "Inputs": "", + "Ask bots not to index this room": "", + "Log in:": "", + "Show timestamps in chat:": "", + "MIDI": "", + "Days": "", + "go": "", + "Sound Select": "", + "Logged in as": "", + "Account": "", + "Chat": "", + "Hide all bots:": "", + "Outer color:": "", + "My Fancy New Name": "", + "USER SET": "", + "No chat colors:": "", + "PLAY": "", + "Hide piano:": "", + "Language": "", + "Amount of unit...": "", + "Hide Cursor": "", + "Give Crown": "", + "Direct Message": "", + "Kickban": "", + "Mute Completely": "", + "Mute Notes": "", + "Ban reason...": "", + "Mute Chat": "", + "Mention": "", + "Connecting...": "", + "Joining channel...": "", + "You can play the piano with your keyboard, too. Try it!": "", + "Ok": "", + "Disable MIDI Drum Channel (channel 10):": "", + "Player limit:": "", + "Optional note for staff...": "", + "Me": "" } diff --git a/client/locales/is/translation.json b/client/locales/is/translation.json index 43bffb21..00797dd6 100644 --- a/client/locales/is/translation.json +++ b/client/locales/is/translation.json @@ -99,5 +99,6 @@ "Log in:": "Skrá inn:", "Show ID tooltips:": "Sýna vísbendingar kennis:", "Don't use prevent default:": "Ekki nota koma í veg fyrir sjálfgefið:", - "Hide all cursors:": "Fela alla bendla:" + "Hide all cursors:": "Fela alla bendla:", + "Language": "" } diff --git a/client/locales/ja/translation.json b/client/locales/ja/translation.json index 351a7c85..80c8819c 100644 --- a/client/locales/ja/translation.json +++ b/client/locales/ja/translation.json @@ -7,7 +7,7 @@ "Play Alone": "一人でプレイ", "You can chat with this thing.": "ここで文字を入力.", "MPPNet Community Forum": "MPPNet プレーヤー フォーラム", - "MIDI In/Out": "MIDI In/Out", + "MIDI In/Out": "MIDI入力/出力", "Account": "アカウント", "Clear Chat": "チャットをクリア", "Only Owner can Play": "オーナーのみが演奏可能", @@ -54,7 +54,7 @@ "Weeks": "週", "My Fancy New Name": "私の素敵な新しい名前", "Months": "月", - "User ID:": "ユーザーID", + "User ID:": "ユーザーID:", "Reason:": "理由:", "Duration:": "期間:", "Minutes": "分", @@ -79,5 +79,25 @@ "Outputs": "アウトプット", "Multiplayer Piano": "マルチプレイヤー ピアノ", "Did you know!?!": "知っていましたか!?", - "You can play the piano with your keyboard, too. Try it!": "キーボードでもピアノを演奏できますよ。試してみてください!" + "You can play the piano with your keyboard, too. Try it!": "キーボードでもピアノを演奏できますよ。試してみてください!", + "Don't use prevent default:": "", + "Show piano notes:": "", + "Force dark background:": "", + "Hide all cursors:": "", + "Enable smooth cursors:": "", + "Highlighted notes:": "", + "Virtual Piano layout:": "", + "Hide all bots:": "", + "Hide piano:": "", + "Language": "", + "Me": "", + "Hide Cursor": "", + "Give Crown": "", + "Direct Message": "", + "Kickban": "", + "Mute Completely": "", + "Mute Notes": "", + "Mute Chat": "", + "Mention": "", + "Disable MIDI Drum Channel (channel 10):": "" } diff --git a/client/locales/ka/translation.json b/client/locales/ka/translation.json index 6d6a90b7..797cf66c 100644 --- a/client/locales/ka/translation.json +++ b/client/locales/ka/translation.json @@ -20,5 +20,85 @@ "Multiplayer Piano Rules": "Multiplayer Piano-ს წესები", "Client Settings": "კლიენტის პარამეტრები", "Clear Chat": "ჩატის გაწმენდა", - "Get Crown": "აიღე გვირგვინი" + "Get Crown": "აიღე გვირგვინი", + "Don't use prevent default:": "", + "Show user IDs in chat:": "", + "Amount of unit...": "", + "Connecting...": "", + "Duration:": "", + "Seconds": "", + "Show ID tooltips:": "", + "sine": "", + "User ID:": "", + "Reason:": "", + "Hide Cursor": "", + "Permanent": "", + "Multiplayer Piano": "", + "Years": "", + "Show piano notes:": "", + "Did you know!?!": "", + "Outputs": "", + "Synthesize": "", + "Force dark background:": "", + "APPLY": "", + "Inner color:": "", + "Hide all cursors:": "", + "Enable smooth cursors:": "", + "Minutes": "", + "User's ID": "", + "BAN": "", + "Note:": "", + "Drop crown": "", + "Misc": "", + "square": "", + "MIDI In/Out": "", + "MIDI Connections": "", + "Optional note for staff...": "", + "Give Crown": "", + "Months": "", + "sawtooth": "", + "Direct Message": "", + "Joining channel...": "", + "Weeks": "", + "You can play the piano with your keyboard, too. Try it!": "", + "Piano": "", + "Kickban": "", + "Ok": "", + "Discord": "", + "Mute Completely": "", + "triangle": "", + "No Cussing": "", + "Hours": "", + "Only Owner can Play": "", + "Log out": "", + "Highlighted notes:": "", + "Output own notes to MIDI:": "", + "Volume": "", + "Virtual Piano layout:": "", + "Mute Notes": "", + "Disable MIDI Drum Channel (channel 10):": "", + "ON/OFF": "", + "Hide chat:": "", + "Inputs": "", + "Ask bots not to index this room": "", + "Log in:": "", + "Show timestamps in chat:": "", + "MIDI": "", + "Days": "", + "Me": "", + "go": "", + "Logged in as": "", + "Ban reason...": "", + "Chat": "", + "Hide all bots:": "", + "Outer color:": "", + "Mute Chat": "", + "My Fancy New Name": "", + "Mention": "", + "USER SET": "", + "No chat colors:": "", + "PLAY": "", + "Hide piano:": "", + "Language": "", + "Player limit:": "" } diff --git a/client/locales/ko/translation.json b/client/locales/ko/translation.json index 05227467..a182efe3 100644 --- a/client/locales/ko/translation.json +++ b/client/locales/ko/translation.json @@ -81,5 +81,23 @@ "Did you know!?!": "알고 계셨나요!?!", "You can play the piano with your keyboard, too. Try it!": "키보드로도 피아노를 칠 수 있어요, 해 보세요!", "Disable MIDI Drum Channel (channel 10):": "MIDI 드럼(10번) 채널 비활성화:", - "Direct Message": "귓속말" + "Direct Message": "귓속말", + "Don't use prevent default:": "", + "sine": "", + "Synthesize": "", + "Force dark background:": "", + "square": "", + "sawtooth": "", + "Synth": "", + "triangle": "", + "Highlighted notes:": "", + "Virtual Piano layout:": "", + "ON/OFF": "", + "Sound Select": "", + "Chat": "", + "Language": "", + "Amount of unit...": "", + "Mute Completely": "", + "Mute Notes": "", + "Mute Chat": "" } diff --git a/client/locales/nb/translation.json b/client/locales/nb/translation.json index 868b4836..2cc85f51 100644 --- a/client/locales/nb/translation.json +++ b/client/locales/nb/translation.json @@ -90,5 +90,15 @@ "sawtooth": "sagtann", "Output own notes to MIDI:": "Send ut egne noter til MIDI:", "Show piano notes:": "Vis pianonoter:", - "Don't use prevent default:": "Ikke bruk forhindringsforvalg:" + "Don't use prevent default:": "Ikke bruk forhindringsforvalg:", + "Me": "", + "Hide Cursor": "", + "Give Crown": "", + "Direct Message": "", + "Kickban": "", + "Mute Completely": "", + "Mute Notes": "", + "Mute Chat": "", + "Mention": "", + "Language": "" } diff --git a/client/locales/nl/translation.json b/client/locales/nl/translation.json index 8d19a84d..047080e0 100644 --- a/client/locales/nl/translation.json +++ b/client/locales/nl/translation.json @@ -14,7 +14,7 @@ "Get Crown": "Kroon krijgen", "Volume": "Volume", "Inner color:": "Binnen kleur:", - "Player limit:": "Speler limiet lol", + "Player limit:": "Speler limiet:", "USER SET": "NAAM ZETTEN", "Reason:": "Reden:", "Seconds": "Seconden", @@ -23,7 +23,7 @@ "Note:": "Opmerking:", "Logged in as": "Ingelogd als", "Log out": "Uitloggen", - "Piano": "PIano", + "Piano": "Piano", "Misc": "Overige", "No chat colors:": "Geen chat kleuren:", "Hide chat:": "Chat verstoppen:", diff --git a/client/locales/pl/translation.json b/client/locales/pl/translation.json index e96d3d17..66e6da96 100644 --- a/client/locales/pl/translation.json +++ b/client/locales/pl/translation.json @@ -34,5 +34,72 @@ "Volume": "Głośność", "Minutes": "Minuty", "Days": "Dni", - "Weeks": "Tygodnie" + "Weeks": "Tygodnie", + "Don't use prevent default:": "", + "Show user IDs in chat:": "", + "MPPNet Discord": "", + "Get Crown": "", + "Show ID tooltips:": "", + "sine": "", + "User ID:": "", + "Multiplayer Piano": "", + "Show piano notes:": "", + "Did you know!?!": "", + "Synthesize": "", + "Force dark background:": "", + "Clear Chat": "", + "Inner color:": "", + "Hide all cursors:": "", + "MPPNet Reddit": "", + "Enable smooth cursors:": "", + "Client Settings": "", + "User's ID": "", + "BAN": "", + "Drop crown": "", + "MPPNet Community Forum": "", + "square": "", + "MIDI In/Out": "", + "MIDI Connections": "", + "sawtooth": "", + "MPPNet Frontend Repo": "", + "triangle": "", + "No Cussing": "", + "Vanish": "", + "Log out": "", + "You can chat with this thing.": "", + "Highlighted notes:": "", + "Output own notes to MIDI:": "", + "Virtual Piano layout:": "", + "ON/OFF": "", + "Hide chat:": "", + "Ask bots not to index this room": "", + "Log in:": "", + "Show timestamps in chat:": "", + "go": "", + "Sound Select": "", + "Logged in as": "", + "Hide all bots:": "", + "Outer color:": "", + "My Fancy New Name": "", + "USER SET": "", + "No chat colors:": "", + "PLAY": "", + "Hide piano:": "", + "Language": "", + "Amount of unit...": "", + "Hide Cursor": "", + "Give Crown": "", + "Direct Message": "", + "Kickban": "", + "Mute Completely": "", + "Mute Notes": "", + "Ban reason...": "", + "Mute Chat": "", + "Mention": "", + "Player limit:": "", + "Optional note for staff...": "", + "Me": "", + "Joining channel...": "", + "You can play the piano with your keyboard, too. Try it!": "", + "Disable MIDI Drum Channel (channel 10):": "" } diff --git a/client/locales/pt/translation.json b/client/locales/pt/translation.json index b76e9ff0..a4c07762 100644 --- a/client/locales/pt/translation.json +++ b/client/locales/pt/translation.json @@ -2,7 +2,7 @@ "people are playing_one": "pessoa está jogando", "people are playing_many": "pessoas estão jogando", "people are playing_other": "pessoas estão jogando", - "New Room...": "Nova Sala. . .", + "New Room...": "Nova Sala…", "room name": "nome da sala", "Visible (open to everyone)": "Visível (aberto a todos)", "Enable Chat": "Ativar bate-papo", @@ -32,7 +32,7 @@ "Outputs": "Saídas", "Multiplayer Piano": "Multiplayer Piano", "Did you know!?!": "Você sabia!?!", - "Player limit:": "Limite de Pessoas", + "Player limit:": "Limite de Pessoas:", "APPLY": "APLICAR", "My Fancy New Name": "Meu Maravilhoso Novo Nome", "User ID:": "ID do Usuário:", @@ -74,7 +74,7 @@ "Drop crown": "Dropar Coroa", "Only Owner can Play": "Só o Dono pode Tocar", "No Cussing": "Sem Palavrões", - "Joining channel...": "Entrando na sala . . .", + "Joining channel...": "Entrando na sala …", "Synthesize": "Sintetizar", "ON/OFF": "Ligado/Desligado", "square": "quadrangular", diff --git a/client/locales/ru/translation.json b/client/locales/ru/translation.json index 838bb24b..e214c58b 100644 --- a/client/locales/ru/translation.json +++ b/client/locales/ru/translation.json @@ -100,5 +100,6 @@ "Mention": "Упомянуть", "Give Crown": "Дать корону", "Kickban": "Забанить", - "Me": "Я" + "Me": "Я", + "Language": "Язык" } diff --git a/client/locales/sk/translation.json b/client/locales/sk/translation.json index b4f53a39..16745bb8 100644 --- a/client/locales/sk/translation.json +++ b/client/locales/sk/translation.json @@ -2,7 +2,7 @@ "people are playing_one": "osoba hrá", "people are playing_few": "ľudia hrajú", "people are playing_other": "ľudí hrá", - "New Room...": "Nový Klavír", + "New Room...": "Nový Klavír…", "Enable Chat": "Povoliť Chatovanie", "MPPNet Community Forum": "MPPNet Komunitné Fórum", "room name": "Prezývka klavíra", @@ -26,5 +26,80 @@ "Clear Chat": "Vymazať Chat", "Get Crown": "Koruna", "Vanish": "Zmizni", - "Connecting...": "Pripája sa…" + "Connecting...": "Pripája sa…", + "Don't use prevent default:": "", + "Show user IDs in chat:": "", + "Amount of unit...": "", + "Duration:": "", + "Seconds": "", + "Show ID tooltips:": "", + "sine": "", + "User ID:": "", + "Reason:": "", + "Hide Cursor": "", + "Permanent": "", + "Multiplayer Piano": "", + "Years": "", + "Show piano notes:": "", + "Did you know!?!": "", + "Outputs": "", + "Synthesize": "", + "Force dark background:": "", + "APPLY": "", + "Inner color:": "", + "Hide all cursors:": "", + "Enable smooth cursors:": "", + "Minutes": "", + "User's ID": "", + "BAN": "", + "Note:": "", + "Drop crown": "", + "Misc": "", + "square": "", + "MIDI Connections": "", + "Optional note for staff...": "", + "Give Crown": "", + "Months": "", + "sawtooth": "", + "Direct Message": "", + "Joining channel...": "", + "Weeks": "", + "You can play the piano with your keyboard, too. Try it!": "", + "Piano": "", + "Kickban": "", + "Ok": "", + "Discord": "", + "Mute Completely": "", + "triangle": "", + "No Cussing": "", + "Hours": "", + "Only Owner can Play": "", + "Log out": "", + "Highlighted notes:": "", + "Output own notes to MIDI:": "", + "Virtual Piano layout:": "", + "Mute Notes": "", + "Disable MIDI Drum Channel (channel 10):": "", + "ON/OFF": "", + "Hide chat:": "", + "Inputs": "", + "Ask bots not to index this room": "", + "Log in:": "", + "Show timestamps in chat:": "", + "MIDI": "", + "Days": "", + "Me": "", + "Logged in as": "", + "Ban reason...": "", + "Chat": "", + "Hide all bots:": "", + "Outer color:": "", + "Mute Chat": "", + "My Fancy New Name": "", + "Mention": "", + "USER SET": "", + "No chat colors:": "", + "Hide piano:": "", + "Language": "", + "Player limit:": "" } diff --git a/client/locales/tr/translation.json b/client/locales/tr/translation.json index 1cbbc494..fbceed0b 100644 --- a/client/locales/tr/translation.json +++ b/client/locales/tr/translation.json @@ -99,5 +99,6 @@ "Direct Message": "Direkt Mesaj", "Me": "Ben", "MPPNet Discord": "MPPNet Discord", - "Client Settings": "İstemci Ayarları" + "Client Settings": "İstemci Ayarları", + "Language": "" } diff --git a/client/locales/zh/translation.json b/client/locales/zh/translation.json index 21b66863..3532ffe2 100644 --- a/client/locales/zh/translation.json +++ b/client/locales/zh/translation.json @@ -4,5 +4,100 @@ "room name": "房间名称", "Visible (open to everyone)": "可见(向所有人开放)", "Enable Chat": "启用聊天", - "Play Alone": "独自玩耍" + "Play Alone": "独自玩耍", + "Don't use prevent default:": "", + "Show user IDs in chat:": "", + "MPPNet Discord": "", + "Get Crown": "", + "Duration:": "", + "Seconds": "", + "Show ID tooltips:": "", + "sine": "", + "User ID:": "", + "Reason:": "", + "Permanent": "", + "Multiplayer Piano": "", + "Years": "", + "Show piano notes:": "", + "Did you know!?!": "", + "Outputs": "", + "Synthesize": "", + "Force dark background:": "", + "APPLY": "", + "Clear Chat": "", + "Inner color:": "", + "Hide all cursors:": "", + "MPPNet Reddit": "", + "Enable smooth cursors:": "", + "Minutes": "", + "Client Settings": "", + "User's ID": "", + "Room Settings": "", + "BAN": "", + "Note:": "", + "Drop crown": "", + "MPPNet Community Forum": "", + "Misc": "", + "square": "", + "MIDI In/Out": "", + "MIDI Connections": "", + "Months": "", + "sawtooth": "", + "MPPNet Frontend Repo": "", + "Weeks": "", + "Piano": "", + "Synth": "", + "Discord": "", + "triangle": "", + "No Cussing": "", + "Multiplayer Piano Rules": "", + "Hours": "", + "Vanish": "", + "Only Owner can Play": "", + "Log out": "", + "Rules": "", + "You can chat with this thing.": "", + "Highlighted notes:": "", + "Output own notes to MIDI:": "", + "Volume": "", + "Virtual Piano layout:": "", + "ON/OFF": "", + "Hide chat:": "", + "Inputs": "", + "Ask bots not to index this room": "", + "Log in:": "", + "Show timestamps in chat:": "", + "MIDI": "", + "Days": "", + "go": "", + "Sound Select": "", + "Logged in as": "", + "Account": "", + "Chat": "", + "Hide all bots:": "", + "Outer color:": "", + "My Fancy New Name": "", + "USER SET": "", + "No chat colors:": "", + "PLAY": "", + "Hide piano:": "", + "Language": "", + "Amount of unit...": "", + "Hide Cursor": "", + "Give Crown": "", + "Direct Message": "", + "Kickban": "", + "Mute Completely": "", + "Mute Notes": "", + "Ban reason...": "", + "Mute Chat": "", + "Mention": "", + "Connecting...": "", + "Joining channel...": "", + "You can play the piano with your keyboard, too. Try it!": "", + "Ok": "", + "Disable MIDI Drum Channel (channel 10):": "", + "Player limit:": "", + "Optional note for staff...": "", + "Me": "" } diff --git a/client/script.js b/client/script.js index 71aaed28..9367489e 100644 --- a/client/script.js +++ b/client/script.js @@ -1394,8 +1394,7 @@ $(function() { // add cursorDiv if ( (gClient.participantId !== part.id || gSeeOwnCursor) && - !gCursorHides.includes(part.id) && - !gHideAllCursors + !gCursorHides.includes(part.id) ) { var div = document.createElement("div"); div.className = "cursor"; @@ -1502,6 +1501,7 @@ $(function() { return "#777"; } function updateCursor(msg) { + if (gHideAllCursors) return; const part = gClient.ppl[msg.id]; if (shouldHideUser(part)) return; if (part && part.cursorDiv) { @@ -2249,10 +2249,10 @@ $(function() { if (gIsDming && part._id === gDmParticipant._id) { chat.endDM(); if (!gCancelDMs) { - new Notification({title: 'DM Cancelled', + new Notification({title: 'DM Cancelled', html: gHasSeenDMWarning ? `Your message is still in the chat input field, but will send as a public message.
- You can disable this in Client Settings.` + You can disable this in Client Settings.` : `Your message is still in the chatbox, but it will send as a public message.
You can disable this in Client Settings.
Enabling "Cancel DMs when recipient leaves" will clear your message from the text input
@@ -2759,8 +2759,6 @@ $(function() { var channel = msg.ch; var info = $("#room > .info"); info.text(channel._id); - if (channel._id == "cheez") info.addClass("cheez"); - else info.removeClass("cheez"); if (channel.settings.lobby) info.addClass("lobby"); else info.removeClass("lobby"); if (!channel.settings.chat) info.addClass("no-chat"); @@ -2798,8 +2796,6 @@ $(function() { " " + room._id, ); - if (room._id == "cheez") info.addClass("cheez"); - else info.removeClass("cheez"); if (room.settings.lobby) info.addClass("lobby"); else info.removeClass("lobby"); if (!room.settings.chat) info.addClass("no-chat"); @@ -3279,7 +3275,7 @@ $(function() { chat.endDM(); } if (gIsReplying) { - chat.cancelReply(part); + chat.cancelReply(gReplyParticipant); } setTimeout(function() { chat.blur();