fix(protocol): keep private recall ids exact

Private delete_msg could return success while the message stayed
visible. The 64-bit id sent with a private recall is now built with
integer bits so it matches the original message.

Fixes #431
This commit is contained in:
DrSmoothl committed 2026-08-30 20:43:45 +08:00
1 parent a7d293d79b
commit f5e95fc634
2 files changed
+13 -1

No files matched your search

+1 -1
View File
@@ -715,7 +715,7 @@ export class MessageApi {
info: {
clientSequence: clientSeq,
random,
messageId: BigInt((0x01000000 * 0x100000000) + random),
messageId: (0x01000000n << 32n) | BigInt(random >>> 0),
timestamp,
field5: 0,
messageSequence: msgSeq,