mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2026-01-09 13:22:21 -06:00
fix: connection state
This commit is contained in:
@@ -1517,7 +1517,7 @@ export class WAStartupService {
|
||||
.split(/\:/)[0]
|
||||
.split('@')[0];
|
||||
|
||||
if (number.includes('-') && number.length >= 24) {
|
||||
if (number.length >= 18) {
|
||||
this.logger.verbose('Jid created is group: ' + `${number}@g.us`);
|
||||
number = number.replace(/[^\d-]/g, '');
|
||||
return `${number}@g.us`;
|
||||
|
||||
Reference in New Issue
Block a user