yayan 1 năm trước cách đây
mục cha
commit
1fd19b3347
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      whatsapp-client.js

+ 1 - 0
whatsapp-client.js

@@ -118,6 +118,7 @@ class WhasAppClient {
         this.client.on('disconnected', async (reason) => {
             console.log(`be:${this.clientId}:Client was logged out`, reason);
             map.delete(this.clientId);
+            duplicateMap.delete(this.clientId);
             // kirim ke abi untuk update status
             axios.post('https://nexilis.io/dashboardv2/logics/update_whatsapp_login', {
                 be: this.clientId,