fix: fixed send messages in groups

This commit is contained in:
Davidson Gomes
2024-08-23 15:36:59 -03:00
parent 0fca8c0746
commit e809f38865
3 changed files with 3 additions and 1 deletions

View File

@@ -3203,7 +3203,7 @@ export class BaileysStartupService extends ChannelStartupService {
private async getGroupMetadataCache(groupJid: string) {
if (!isJidGroup(groupJid)) return null;
const cacheConf = this.configService.get<CacheConf>('CACHE');
const cacheConf = configService.get<CacheConf>('CACHE');
if ((cacheConf?.REDIS?.ENABLED && cacheConf?.REDIS?.URI !== '') || cacheConf?.LOCAL?.ENABLED) {
if (await groupMetadataCache.has(groupJid)) {