File tree Expand file tree Collapse file tree 4 files changed +10
-0
lines changed Expand file tree Collapse file tree 4 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 18
18
* Adjustment in the saving of contacts, saving the information of the number and Jid
19
19
* Update Dockerfile
20
20
* If you pass empty events in create instance and set webhook it is understood as all
21
+ * Fixed issue that did not output base64 averages
21
22
22
23
### Integrations
23
24
Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ export class Logger {
75
75
console . log (
76
76
/*Command.UNDERSCORE +*/ Command . BRIGHT + Level [ type ] ,
77
77
'[Evolution API]' ,
78
+ Command . BRIGHT + Color [ type ] ,
78
79
`v${ packageJson . version } ` ,
79
80
Command . BRIGHT + Color [ type ] ,
80
81
process . pid . toString ( ) ,
Original file line number Diff line number Diff line change @@ -2178,6 +2178,14 @@ export class WAStartupService {
2178
2178
this . logger . verbose ( 'File name: ' + mediaMessage . fileName ) ;
2179
2179
}
2180
2180
2181
+ if ( mediaMessage . mediatype === 'image' && ! mediaMessage . fileName ) {
2182
+ mediaMessage . fileName = 'image.png' ;
2183
+ }
2184
+
2185
+ if ( mediaMessage . mediatype === 'video' && ! mediaMessage . fileName ) {
2186
+ mediaMessage . fileName = 'video.mp4' ;
2187
+ }
2188
+
2181
2189
let mimetype : string ;
2182
2190
2183
2191
if ( isURL ( mediaMessage . media ) ) {
You can’t perform that action at this time.
0 commit comments