This commit is contained in:
rustdesk 2022-01-31 02:17:04 +08:00
parent 60783c875e
commit c58659c7f9

View File

@ -269,7 +269,7 @@ function _getByName(name, arg) {
case 'image_quality': case 'image_quality':
return curConn.getImageQuality(); return curConn.getImageQuality();
case 'translate': case 'translate':
const arg = JSON.parse(arg); arg = JSON.parse(arg);
return translate(arg.locale, arg.text); return translate(arg.locale, arg.text);
case 'peer_option': case 'peer_option':
return curConn.getOption(arg); return curConn.getOption(arg);