mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-14 01:41:24 -06:00
fix: fixed send messages in groups
This commit is contained in:
parent
0fca8c0746
commit
e809f38865
@ -15,6 +15,7 @@
|
||||
* Fixed dify agent integration
|
||||
* Update Baileys Version
|
||||
* Fixed proxy config in manager
|
||||
* Fixed send messages in groups
|
||||
|
||||
### Break Changes
|
||||
|
||||
|
@ -331,6 +331,7 @@ export class InstanceController {
|
||||
instance.client?.end(new Error('restart'));
|
||||
return await this.connectToWhatsapp({ instanceName });
|
||||
} else if (state == 'connecting') {
|
||||
instance.client?.ws?.close();
|
||||
instance.client?.end(new Error('restart'));
|
||||
return await this.connectToWhatsapp({ instanceName });
|
||||
}
|
||||
|
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user