(feat) messageScheduler: fix message bug

This commit is contained in:
Win8.1VMUser 2025-09-21 22:05:54 +02:00 • committed by GitHub
parent 703e10155f
commit 8782ba0717
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,7 +17,7 @@ function schedule(channelId: string, content: string, at: number): string {
timeoutIds[id] = setTimeout(() => {
const realMessage = content;
MessageActions.sendMessage(channelId, { content: realMessage }, void 0, {nonce:""});
MessageActions.sendMessage(channelId, { content: realMessage }, void 0, {nonce:"az"});
delete timeoutIds[id];
delete messageQueue[id];
showToast("Scheduled message sent.");