We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3893e01 commit 916972aCopy full SHA for 916972a
1 file changed
src/whatsapp/services/whatsapp.service.ts
@@ -2308,6 +2308,9 @@ export class WAStartupService {
2308
mediaMessage.fileName = arrayMatch[1];
2309
this.logger.verbose('File name: ' + mediaMessage.fileName);
2310
}
2311
+ // inserido francis inicio
2312
+ let mimetype: string;
2313
+ // inserido francis final
2314
2315
if (mediaMessage.mediatype === 'image' && !mediaMessage.fileName) {
2316
mediaMessage.fileName = 'image.png';
@@ -2324,9 +2327,9 @@ export class WAStartupService {
2324
2327
// inserido francis final
2325
2328
2326
2329
- let mimetype: string;
2330
+ // ocultado francis inicio
2331
+ // let mimetype: string;
2332
- // ocultado francis inicio
2333
2334
// if (isURL(mediaMessage.media)) {
2335
// mimetype = getMIMEType(mediaMessage.media);
0 commit comments