File tree Expand file tree Collapse file tree
src/api/integrations/channel/whatsapp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -461,7 +461,7 @@ export class BaileysStartupService extends ChannelStartupService {
461461 this . logger . info (
462462 `
463463 ┌──────────────────────────────┐
464- │ CONNECTED TO WHATSAPP │
464+ │ CONNECTADO NA EVOLUTION! │
465465 └──────────────────────────────┘` . replace ( / ^ + / gm, ' ' ) ,
466466 ) ;
467467 this . logger . info (
@@ -1127,7 +1127,7 @@ export class BaileysStartupService extends ChannelStartupService {
11271127 }
11281128
11291129 if ( text == 'onDemandHistSync' ) {
1130- const messageId = await this . client . fetchMessageHistory ( 50 , received . key , received . messageTimestamp ! ) ;
1130+ const messageId = await this . client . fetchMessageHistory ( 5 , received . key , received . messageTimestamp ! ) ;
11311131 console . log ( 'requested on-demand sync, id=' , messageId ) ;
11321132 }
11331133 }
@@ -2044,7 +2044,7 @@ export class BaileysStartupService extends ChannelStartupService {
20442044 }
20452045 }
20462046
2047- if ( message [ 'conversation' ] ) {
2047+ if ( message [ 'conversation' ] && message [ 'conversation' ] . trim ( ) !== '' ) {
20482048 return await this . client . sendMessage (
20492049 sender ,
20502050 {
You can’t perform that action at this time.
0 commit comments