Fix session deletion bug on reconnect limit
This commit is contained in:
@@ -180,6 +180,7 @@ async function startSession(session_key, webhook_url) {
|
|||||||
senderPhone = remoteJid.split('@')[0];
|
senderPhone = remoteJid.split('@')[0];
|
||||||
} else if (remoteJid.endsWith('@lid')) {
|
} else if (remoteJid.endsWith('@lid')) {
|
||||||
senderPhone = remoteJid.split('@')[0];
|
senderPhone = remoteJid.split('@')[0];
|
||||||
|
senderPhone = remoteJid.split('@')[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!senderPhone) continue;
|
if (!senderPhone) continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user