mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-22 20:12:02 -06:00
fix: messageType null
This commit is contained in:
parent
fcc4fc2665
commit
6328c64192
@ -1032,7 +1032,7 @@ export class BaileysStartupService extends ChannelStartupService {
|
||||
pushName: received.pushName,
|
||||
message: { ...received.message },
|
||||
contextInfo: contentMsg?.contextInfo,
|
||||
messageType: getContentType(received.message),
|
||||
messageType: getContentType(received.message) || 'unknown',
|
||||
messageTimestamp: received.messageTimestamp as number,
|
||||
instanceId: this.instanceId,
|
||||
source: getDevice(received.key.id),
|
||||
|
Loading…
Reference in New Issue
Block a user