unify message

This commit is contained in:
rustdesk 2022-02-10 00:07:04 +08:00
parent 7e335b36f5
commit 725e8d3e54

View File

@ -451,7 +451,7 @@ export default class Connection {
misc.audio_format.sample_rate
);
} else if (misc.chat_message) {
globals.pushEvent("chat", misc.chat_message.text);
globals.pushEvent("chat", { text: misc.chat_message.text });
} else if (misc.permission_info) {
const p = misc.permission_info;
console.info("Change permission " + p.permission + " -> " + p.enabled);