diff --git a/src/components/instance/profile/Privacy.vue b/src/components/instance/profile/Privacy.vue index dd5a4c9..5d4b5ef 100644 --- a/src/components/instance/profile/Privacy.vue +++ b/src/components/instance/profile/Privacy.vue @@ -127,6 +127,9 @@ const defaultObj = () => ({ sign_msg: true, reopen_conversation: true, conversation_pending: false, + import_contacts: false, + import_messages: false, + days_limit_import_messages: 0, // Set as a number }); export default { diff --git a/src/components/instance/settings/Chatwoot.vue b/src/components/instance/settings/Chatwoot.vue index f6a86ab..dc44fbe 100644 --- a/src/components/instance/settings/Chatwoot.vue +++ b/src/components/instance/settings/Chatwoot.vue @@ -85,7 +85,18 @@ ]" /> - +
+ +
+
+
+ + + +
+ +
+ + + +
({ reopen_conversation: true, conversation_pending: false, auto_create: undefined, + import_contacts: false, + import_messages: false, + days_limit_import_messages: 0, }); export default { @@ -242,6 +289,9 @@ export default { sign_delimiter: "\n", reopen_conversation: true, conversation_pending: false, + import_contacts: false, + import_messages: false, + days_limit_import_messages: 0, }, defaultChatwootData: { enabled: false, @@ -252,6 +302,9 @@ export default { sign_delimiter: "\n", reopen_conversation: true, conversation_pending: false, + import_contacts: false, + import_messages: false, + days_limit_import_messages: 0, }, }), methods: { diff --git a/src/components/instance/settings/Options.vue b/src/components/instance/settings/Options.vue index b2ba6ee..915fe5d 100644 --- a/src/components/instance/settings/Options.vue +++ b/src/components/instance/settings/Options.vue @@ -81,6 +81,14 @@ hide-details density="compact" > +
@@ -112,6 +120,7 @@ const defaultOptions = () => ({ always_online: false, read_messages: false, read_status: false, + sync_full_history: false, }); export default { @@ -134,6 +143,7 @@ export default { always_online: false, read_messages: false, read_status: false, + sync_full_history: false, }, defaultOptionsData: { reject_call: false, @@ -142,6 +152,7 @@ export default { always_online: false, read_messages: false, read_status: false, + sync_full_history: false, }, }), diff --git a/src/components/modal/CreateInstance.vue b/src/components/modal/CreateInstance.vue index ff14300..8274398 100644 --- a/src/components/modal/CreateInstance.vue +++ b/src/components/modal/CreateInstance.vue @@ -17,6 +17,26 @@ 'Nome inválido (apenas letras, números, _ e -)', ]" /> + +