Skip to content

Commit 92c2ace

Browse files
committed
fix: enhance remoteJid processing to handle '@lid' cases
1 parent faed3f4 commit 92c2ace

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2531,6 +2531,9 @@ export class ChatwootService {
25312531
if (!remoteJid) {
25322532
return '';
25332533
}
2534+
if (remoteJid.includes('@lid')) {
2535+
return remoteJid;
2536+
}
25342537
return remoteJid.replace(/:\d+/, '').split('@')[0];
25352538
}
25362539

0 commit comments

Comments
 (0)