Commit c05003ed authored by Muhammadali's avatar Muhammadali

update-

parent 039c9f64
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "4.8.32", "version": "4.8.33",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -38,18 +38,18 @@ const Root = ({ wsphonedata, onSetDnd, setWsphonedata, callMethod }) => { ...@@ -38,18 +38,18 @@ const Root = ({ wsphonedata, onSetDnd, setWsphonedata, callMethod }) => {
now_no_active = 0; now_no_active = 0;
} }
function updateChat() { function updateChat() {
location.reload();
return;
}
setInterval(() => {
if ( if (
now_no_active >= no_active_delay && now_no_active >= no_active_delay &&
!modalState.bool && !modalState.bool &&
!innerCallerModal.bool !innerCallerModal.bool
) { ) {
location.reload(); now_no_active++;
return; updateChat();
} }
}
setInterval(() => {
now_no_active++;
updateChat();
}, 1000); }, 1000);
document.onmousemove = activeUser; document.onmousemove = activeUser;
console.log( console.log(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment