fix mexico number

This commit is contained in:
Ghulam Hassan 2024-09-28 01:15:31 +05:00 committed by GitHub
parent 309d101b32
commit 9afae28c66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2628,7 +2628,7 @@ export class BaileysStartupService extends ChannelStartupService {
if (!numberVerified && (user.number.startsWith('52') || user.number.startsWith('54'))) {
let prefix = '';
if (user.number.startsWith('52')) {
prefix = '1';
prefix = '';
}
if (user.number.startsWith('54')) {
prefix = '9';