Update index.ts
This commit is contained in:
parent
e9e8efbb66
commit
b12d44d10e
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue