diff --git a/src/whatsapp/services/whatsapp.service.ts b/src/whatsapp/services/whatsapp.service.ts index 1f124504..5ad7e1e8 100644 --- a/src/whatsapp/services/whatsapp.service.ts +++ b/src/whatsapp/services/whatsapp.service.ts @@ -1234,15 +1234,17 @@ export class WAStartupService { this.instance.wuid = this.client.user.id.replace(/:\d+/, ''); this.instance.profilePictureUrl = (await this.profilePicture(this.instance.wuid)).profilePictureUrl; const formattedWuid = this.instance.wuid.split('@')[0].padEnd(30, ' '); - const formattedName = this.instance.name.split('@')[0].padEnd(30, ' '); + const formattedName = this.instance.name; this.logger.info( ` ┌──────────────────────────────┐ │ CONNECTED TO WHATSAPP │ - │${formattedWuid}│ - │${formattedName}│ └──────────────────────────────┘`.replace(/^ +/gm, ' '), ); + this.logger.info(` + wuid: ${formattedWuid} + name: ${formattedName} + `); if (this.localChatwoot.enabled) { this.chatwootService.eventWhatsapp(