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:
2 files changed
+13
-1
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user