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
@@ -52,6 +52,10 @@ export interface ContentHead {
|
||||
sequence?: pb<5, uint_32>;
|
||||
timestamp?: pb<6, uint_32>;
|
||||
field7?: pb<7, uint_64>;
|
||||
/** Conversation-wide C2C sequence. Unlike field 5, this advances across
|
||||
* messages sent by either participant and is the sequence accepted by
|
||||
* SsoGetC2cMsg. It is absent on group messages. */
|
||||
ntMsgSeq?: pb<11, uint_32>;
|
||||
newId?: pb<12, uint_64>;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user