Update index.ts

This commit is contained in:
OTKUSteyler 2026-01-02 09:36:45 +00:00 • committed by GitHub
parent e9e8efbb66
commit b12d44d10e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,7 +33,7 @@ export default defineCorePlugin({
) {
// Ensure options exists and has a nonce
options = options || {};
options.nonce = options.nonce || Date.now().toString();
options.nonce = options.nonce || (BigInt(Date.now() - 1420070400000) << 22n).toString();
// Call original with fixed parameters
return originalSendMessage.call(