Merge pull request #1757 from KokeroO/develop

fix: atualizar o handle de erros de eventos
This commit is contained in:
Davidson Gomes 2025-07-25 16:54:28 -03:00 committed by GitHub
commit 4a25cd1ff7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -1059,6 +1059,8 @@ export class BaileysStartupService extends ChannelStartupService {
'failed to decrypt message',
'SessionError',
'Invalid PreKey ID',
'No session record',
'No session found to decrypt message',
].some((err) => param?.includes?.(err)),
)
) {

View File

@ -681,7 +681,7 @@ export class ChatwootService {
instance,
body.key.participant.split('@')[0],
filterInbox.id,
isGroup,
false,
body.pushName,
picture_url.profilePictureUrl || null,
body.key.participant,