mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-23 04:22: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,
|
pushName: received.pushName,
|
||||||
message: { ...received.message },
|
message: { ...received.message },
|
||||||
contextInfo: contentMsg?.contextInfo,
|
contextInfo: contentMsg?.contextInfo,
|
||||||
messageType: getContentType(received.message),
|
messageType: getContentType(received.message) || 'unknown',
|
||||||
messageTimestamp: received.messageTimestamp as number,
|
messageTimestamp: received.messageTimestamp as number,
|
||||||
instanceId: this.instanceId,
|
instanceId: this.instanceId,
|
||||||
source: getDevice(received.key.id),
|
source: getDevice(received.key.id),
|
||||||
|
Loading…
Reference in New Issue
Block a user