mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-20 04:12:23 -06:00
fix: fixed send messages in groups
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user