Add BOT_CONTACT env option to Chatwoot

This commit is contained in:
Stênio Aníbal
2024-08-21 14:56:41 -03:00
parent 912df56c55
commit 0aeecde847
3 changed files with 26 additions and 2 deletions

View File

@@ -181,6 +181,7 @@ export type Chatwoot = {
ENABLED: boolean;
MESSAGE_DELETE: boolean;
MESSAGE_READ: boolean;
BOT_CONTACT: boolean;
IMPORT: {
DATABASE: {
CONNECTION: {
@@ -426,6 +427,7 @@ export class ConfigService {
ENABLED: process.env?.CHATWOOT_ENABLED === 'true',
MESSAGE_DELETE: process.env.CHATWOOT_MESSAGE_DELETE === 'true',
MESSAGE_READ: process.env.CHATWOOT_MESSAGE_READ === 'true',
BOT_CONTACT: process.env.CHATWOOT_BOT_CONTACT === 'true',
IMPORT: {
DATABASE: {
CONNECTION: {