feat: takeover on conflict

This adds funcitonality to takeover after a certain timeout if WhatsApp Web has been opened in another browser

close #119
This commit is contained in:
Pedro Lopez
2020-04-11 18:48:50 -04:00
parent 20bbe3d0c4
commit 478f7136d9
2 changed files with 16 additions and 2 deletions

View File

@@ -12,6 +12,8 @@ exports.DefaultOptions = {
qrTimeoutMs: 45000,
qrRefreshIntervalMs: 20000,
authTimeoutMs: 45000,
takeoverOnConflict: false,
takeoverTimeoutMs: 0
};
/**