fix linting issues

This commit is contained in:
Pedro Lopez
2020-11-05 01:40:12 -04:00
parent fc7a1a9974
commit 7738f7910b

View File

@@ -345,17 +345,17 @@ exports.LoadUtils = () => {
window.WWebJS.sendChatstate = async (state, chatId) => { window.WWebJS.sendChatstate = async (state, chatId) => {
switch (state) { switch (state) {
case 'typing': case 'typing':
await window.Store.Wap.sendChatstateComposing(chatId); await window.Store.Wap.sendChatstateComposing(chatId);
break; break;
case 'recording': case 'recording':
await window.Store.Wap.sendChatstateRecording(chatId); await window.Store.Wap.sendChatstateRecording(chatId);
break; break;
case 'stop': case 'stop':
await window.Store.Wap.sendChatstatePaused(chatId); await window.Store.Wap.sendChatstatePaused(chatId);
break; break;
default: default:
throw 'Invalid chatstate'; throw 'Invalid chatstate';
} }
return true; return true;