fix(onebot): correct private message history (#256)
Use the C2C roam cursor and canonical NT sequence for bidirectional history. Persist direction-aware recall tombstones so recalled messages cannot reappear.
This commit is contained in:
37 files changed
+1853
-242
No files matched your search
@@ -173,6 +173,8 @@ function decodeFriendRecall(ctx: MsgPushContext): QQEventVariant[] {
|
||||
selfUin: ctx.selfUin,
|
||||
userUin: resolveUidToUin(ctx.identity, 0, peerUid, ctx.fromUin),
|
||||
msgSeq: recall.info.clientSequence ?? 0,
|
||||
clientSeq: recall.info.clientSequence ?? 0,
|
||||
recalledBySelf: isSelfRecall,
|
||||
};
|
||||
return [ev];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user