We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59f5208 commit 838905fCopy full SHA for 838905f
src/whatsapp/services/chatwoot.service.ts
@@ -398,7 +398,7 @@ export class ChatwootService {
398
399
if (!contact && !isGroup && query.startsWith('+55') && query.length > 13) {
400
this.logger.verbose('trying without the 9th digit');
401
- query = query.slice(0, 3) + query.slice(4);
+ query = query.slice(0, 5) + query.slice(6);
402
contact = await client.contacts.search({
403
accountId: this.provider.account_id,
404
q: query,
0 commit comments