File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/api/integrations/channel/whatsapp Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1840,7 +1840,7 @@ export class BaileysStartupService extends ChannelStartupService {
18401840 throw new BadRequestException ( isWA ) ;
18411841 }
18421842
1843- const sender = isWA . jid ;
1843+ const sender = isWA . jid . toLowerCase ( ) ;
18441844
18451845 this . logger . verbose ( `Sending message to ${ sender } ` ) ;
18461846
@@ -3290,10 +3290,10 @@ export class BaileysStartupService extends ChannelStartupService {
32903290 }
32913291 }
32923292
3293- private async getGroupMetadataCache ( groupJid : string ) {
3293+ private getGroupMetadataCache = async ( groupJid : string ) => {
32943294 if ( ! isJidGroup ( groupJid ) ) return null ;
32953295
3296- const cacheConf = configService . get < CacheConf > ( 'CACHE' ) ;
3296+ const cacheConf = this . configService . get < CacheConf > ( 'CACHE' ) ;
32973297
32983298 if ( ( cacheConf ?. REDIS ?. ENABLED && cacheConf ?. REDIS ?. URI !== '' ) || cacheConf ?. LOCAL ?. ENABLED ) {
32993299 if ( await groupMetadataCache ?. has ( groupJid ) ) {
You can’t perform that action at this time.
0 commit comments