mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
messaging: fix the hangs caused by the 66e error
This commit is contained in:
@@ -6,6 +6,23 @@ import { areJidsSameUser, BinaryNode, isJidBroadcast, isJidGroup, isJidNewslette
|
||||
import { unpadRandomMax16 } from './generics'
|
||||
|
||||
export const NO_MESSAGE_FOUND_ERROR_TEXT = 'Message absent from node'
|
||||
export const MISSING_KEYS_ERROR_TEXT = 'Key used already or never filled'
|
||||
|
||||
export const NACK_REASONS = {
|
||||
ParsingError: 487,
|
||||
UnrecognizedStanza: 488,
|
||||
UnrecognizedStanzaClass: 489,
|
||||
UnrecognizedStanzaType: 490,
|
||||
InvalidProtobuf: 491,
|
||||
InvalidHostedCompanionStanza: 493,
|
||||
MissingMessageSecret: 495,
|
||||
SignalErrorOldCounter: 496,
|
||||
MessageDeletedOnPeer: 499,
|
||||
UnhandledError: 500,
|
||||
UnsupportedAdminRevoke: 550,
|
||||
UnsupportedLIDGroup: 551,
|
||||
DBOperationFailed: 552
|
||||
}
|
||||
|
||||
type MessageType = 'chat' | 'peer_broadcast' | 'other_broadcast' | 'group' | 'direct_peer_status' | 'other_status' | 'newsletter'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user