parent
dc215addb4
commit
a95e7bbb13
7 changed files with 124 additions and 71 deletions
|
|
@ -83,12 +83,12 @@
|
|||
errors: []
|
||||
});
|
||||
|
||||
handleIncomingMessages(
|
||||
JSON.stringify({
|
||||
type: 'chat',
|
||||
payload: `${new Date().toLocaleTimeString()}: ${get(authStore)?.displayName} has connected to ${boxid}`
|
||||
})
|
||||
);
|
||||
// handleIncomingMessages(
|
||||
// JSON.stringify({
|
||||
// type: 'chat',
|
||||
// payload: `${new Date().toLocaleTimeString()}: ${get(authStore)?.displayName} has connected to ${boxid}`
|
||||
// })
|
||||
// );
|
||||
} else {
|
||||
machineStatus = 'Instance lost, try disconnect and re-connect again';
|
||||
toast.error('Unexpected Error');
|
||||
|
|
@ -221,12 +221,12 @@
|
|||
|
||||
connectDeviceOk = false;
|
||||
|
||||
handleIncomingMessages(
|
||||
JSON.stringify({
|
||||
type: 'chat',
|
||||
payload: `${new Date().toLocaleTimeString()}: ${get(authStore)?.displayName} has disconnected!`
|
||||
})
|
||||
);
|
||||
// handleIncomingMessages(
|
||||
// JSON.stringify({
|
||||
// type: 'chat',
|
||||
// payload: `${new Date().toLocaleTimeString()}: ${get(authStore)?.displayName} has disconnected!`
|
||||
// })
|
||||
// );
|
||||
}
|
||||
|
||||
function checkDeviceConnection() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue