Skip to content

Commit 5191438

Browse files
committed
fix: update error handling messages and correct group parameter in createContact method
1 parent cf95c02 commit 5191438

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,6 +1059,8 @@ export class BaileysStartupService extends ChannelStartupService {
10591059
'failed to decrypt message',
10601060
'SessionError',
10611061
'Invalid PreKey ID',
1062+
'No session record',
1063+
'No session found to decrypt message'
10621064
].some((err) => param?.includes?.(err)),
10631065
)
10641066
) {

src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ export class ChatwootService {
681681
instance,
682682
body.key.participant.split('@')[0],
683683
filterInbox.id,
684-
isGroup,
684+
false,
685685
body.pushName,
686686
picture_url.profilePictureUrl || null,
687687
body.key.participant,

0 commit comments

Comments
 (0)