Skip to content

Commit 5e551fe

Browse files
committed
Merge tag '1.1.0' into develop
* Improved fetch instances endpoint, now it also fetch other instances even if they are not connected * Added conversion of audios for sending recorded audio, now it is possible to send mp3 audios and not just ogg * Route to fetch all groups that the connection is part of * Route to fetch all privacy settings * Route to update the privacy settings * Route to update group subject * Route to update group description * Route to accept invite code * Added configuration of events by webhook of instances * Now the api key can be exposed in fetch instances if the EXPOSE_IN_FETCH_INSTANCES variable is set to true * Added option to generate qrcode as soon as the instance is created * The created instance token can now also be optionally defined manually in the creation endpoint * Route to send Sticker * Adjust dockerfile variables * tweaks in docker-compose to pass variables * Adjust the route getProfileBusiness to fetchProfileBusiness * fix error after logout and try to get status or to connect again * fix sending narrated audio on whatsapp android and ios * fixed the problem of not disabling the global webhook by the variable * Adjustment in the recording of temporary files and periodic cleaning * Fix for container mode also work only with files
2 parents a5102d1 + e05690a commit 5e551fe

2 files changed

Lines changed: 17 additions & 17 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 1.1.0 (homolog)
1+
# 1.1.0 (2023-06-21 11:17)
22

33
### Features
44

src/whatsapp/services/whatsapp.service.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -234,14 +234,14 @@ export class WAStartupService {
234234
baseURL = this.localWebhook.url;
235235
}
236236

237-
// this.logger.log({
238-
// local: WAStartupService.name + '.sendDataWebhook-local',
239-
// url: baseURL,
240-
// event,
241-
// instance: this.instance.name,
242-
// data,
243-
// destination: this.localWebhook.url,
244-
// });
237+
this.logger.log({
238+
local: WAStartupService.name + '.sendDataWebhook-local',
239+
url: baseURL,
240+
event,
241+
instance: this.instance.name,
242+
data,
243+
destination: this.localWebhook.url,
244+
});
245245

246246
try {
247247
if (this.localWebhook.enabled && isURL(this.localWebhook.url)) {
@@ -289,14 +289,14 @@ export class WAStartupService {
289289
localUrl = this.localWebhook.url;
290290
}
291291

292-
// this.logger.log({
293-
// local: WAStartupService.name + '.sendDataWebhook-global',
294-
// url: globalURL,
295-
// event,
296-
// instance: this.instance.name,
297-
// data,
298-
// destination: localUrl,
299-
// });
292+
this.logger.log({
293+
local: WAStartupService.name + '.sendDataWebhook-global',
294+
url: globalURL,
295+
event,
296+
instance: this.instance.name,
297+
data,
298+
destination: localUrl,
299+
});
300300

301301
try {
302302
if (globalWebhook && globalWebhook?.ENABLED && isURL(globalURL)) {

0 commit comments

Comments
 (0)