mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2026-02-05 23:06:26 -06:00
fix: messageType null
This commit is contained in:
@@ -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),
|
||||||
|
|||||||
Reference in New Issue
Block a user