fix: send message to group without no cache (local or redis)

This commit is contained in:
Davidson Gomes 2024-10-04 16:23:09 -03:00
parent fcc26f931e
commit 373268c938
3 changed files with 4 additions and 15 deletions

View File

@ -22,6 +22,7 @@
* Chatwoot verbose logs * Chatwoot verbose logs
* Adjusts on prisma connections * Adjusts on prisma connections
* License terms updated * License terms updated
* fixed send message to group without no cache (local or redis)
# 2.1.1 (2024-09-22 10:31) # 2.1.1 (2024-09-22 10:31)

View File

@ -59,21 +59,16 @@
"class-validator": "^0.14.1", "class-validator": "^0.14.1",
"compression": "^1.7.4", "compression": "^1.7.4",
"cors": "^2.8.5", "cors": "^2.8.5",
"cross-env": "^7.0.3",
"dayjs": "^1.11.7", "dayjs": "^1.11.7",
"dotenv": "^16.4.5", "dotenv": "^16.4.5",
"eventemitter2": "^6.4.9", "eventemitter2": "^6.4.9",
"exiftool-vendored": "^22.0.0",
"express": "^4.18.2", "express": "^4.18.2",
"express-async-errors": "^3.1.1", "express-async-errors": "^3.1.1",
"fluent-ffmpeg": "^2.1.2", "fluent-ffmpeg": "^2.1.2",
"form-data": "^4.0.0", "form-data": "^4.0.0",
"hbs": "^4.2.0",
"https-proxy-agent": "^7.0.2", "https-proxy-agent": "^7.0.2",
"i18next": "^23.7.19", "i18next": "^23.7.19",
"jimp": "^0.16.13", "jimp": "^0.16.13",
"join": "^3.0.0",
"js-yaml": "^4.1.0",
"json-schema": "^0.4.0", "json-schema": "^0.4.0",
"jsonschema": "^1.4.1", "jsonschema": "^1.4.1",
"link-preview-js": "^3.0.4", "link-preview-js": "^3.0.4",
@ -83,9 +78,7 @@
"multer": "^1.4.5-lts.1", "multer": "^1.4.5-lts.1",
"node-cache": "^5.1.2", "node-cache": "^5.1.2",
"node-cron": "^3.0.3", "node-cron": "^3.0.3",
"node-windows": "^1.0.0-beta.8",
"openai": "^4.52.7", "openai": "^4.52.7",
"parse-bmfont-xml": "^1.1.4",
"pg": "^8.11.3", "pg": "^8.11.3",
"pino": "^8.11.0", "pino": "^8.11.0",
"prisma": "^5.15.0", "prisma": "^5.15.0",
@ -94,22 +87,17 @@
"redis": "^4.6.5", "redis": "^4.6.5",
"sharp": "^0.32.2", "sharp": "^0.32.2",
"socket.io": "^4.7.1", "socket.io": "^4.7.1",
"socks-proxy-agent": "^8.0.1",
"tsup": "^8.2.4", "tsup": "^8.2.4",
"uuid": "^9.0.0", "uuid": "^9.0.0"
"xml2js": "^0.6.2",
"yamljs": "^0.3.0"
}, },
"devDependencies": { "devDependencies": {
"@types/compression": "^1.7.2", "@types/compression": "^1.7.2",
"@types/cors": "^2.8.13", "@types/cors": "^2.8.13",
"@types/express": "^4.17.17", "@types/express": "^4.17.17",
"@types/js-yaml": "^4.0.5",
"@types/json-schema": "^7.0.15", "@types/json-schema": "^7.0.15",
"@types/mime": "3.0.0", "@types/mime": "3.0.0",
"@types/node": "^18.15.11", "@types/node": "^18.15.11",
"@types/node-cron": "^3.0.11", "@types/node-cron": "^3.0.11",
"@types/node-windows": "^0.1.2",
"@types/qrcode": "^1.5.0", "@types/qrcode": "^1.5.0",
"@types/qrcode-terminal": "^0.12.0", "@types/qrcode-terminal": "^0.12.0",
"@types/uuid": "^8.3.4", "@types/uuid": "^8.3.4",

View File

@ -1678,7 +1678,7 @@ export class BaileysStartupService extends ChannelStartupService {
// participants?: GroupParticipant[], // participants?: GroupParticipant[],
) { ) {
sender = sender.toLowerCase(); sender = sender.toLowerCase();
const option: any = { const option: any = {
quoted, quoted,
}; };
@ -3332,7 +3332,7 @@ export class BaileysStartupService extends ChannelStartupService {
} }
return await this.findGroup({ groupJid }, 'inner'); return await this.findGroup({ groupJid }, 'inner');
} };
public async createGroup(create: CreateGroupDto) { public async createGroup(create: CreateGroupDto) {
try { try {