mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-11 10:59:37 -06:00
fix: enhance remoteJid processing to handle '@lid' cases
This commit is contained in:
parent
faed3f4574
commit
92c2ace7bc
@ -2531,6 +2531,9 @@ export class ChatwootService {
|
|||||||
if (!remoteJid) {
|
if (!remoteJid) {
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
if (remoteJid.includes('@lid')) {
|
||||||
|
return remoteJid;
|
||||||
|
}
|
||||||
return remoteJid.replace(/:\d+/, '').split('@')[0];
|
return remoteJid.replace(/:\d+/, '').split('@')[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user