mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Use senderTimestampMs instead of messageTimestamp (#348)
* Use senderTimestampMs instead of messageTimestamp * Add .toNumber(), because senderTimestampMs is Long * chore: Fix linting --------- Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
This commit is contained in:
@@ -386,7 +386,7 @@ const processMessage = async(
|
|||||||
{
|
{
|
||||||
pollUpdateMessageKey: message.key,
|
pollUpdateMessageKey: message.key,
|
||||||
vote: voteMsg,
|
vote: voteMsg,
|
||||||
senderTimestampMs: message.messageTimestamp,
|
senderTimestampMs: (content.pollUpdateMessage.senderTimestampMs! as Long).toNumber(),
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user