example: cleanup
This commit is contained in:
@@ -4,9 +4,9 @@ import { proto } from '../../WAProto/index.js'
|
||||
import type { Chat, Contact, LIDMapping, WAMessage } from '../Types'
|
||||
import { WAMessageStubType } from '../Types'
|
||||
import { toNumber } from './generics'
|
||||
import type { ILogger } from './logger.js'
|
||||
import { normalizeMessageContent } from './messages'
|
||||
import { downloadContentFromMessage } from './messages-media'
|
||||
import type { ILogger } from './logger.js'
|
||||
|
||||
const inflatePromise = promisify(inflate)
|
||||
|
||||
@@ -32,7 +32,7 @@ export const processHistoryMessage = (item: proto.IHistorySync, logger?: ILogger
|
||||
const chats: Chat[] = []
|
||||
const lidPnMappings: LIDMapping[] = []
|
||||
|
||||
logger?.trace({ progress: item.progress }, 'processing history of type '+ item.syncType?.toString())
|
||||
logger?.trace({ progress: item.progress }, 'processing history of type ' + item.syncType?.toString())
|
||||
|
||||
// Extract LID-PN mappings for all sync types
|
||||
for (const m of item.phoneNumberToLidMappings || []) {
|
||||
|
||||
Reference in New Issue
Block a user