refactor: OB11Message add filed message_seq

This commit is contained in:
linyuchen 2024-05-05 19:40:26 +08:00
parent 466b89064a
commit 1fa740de2d
2 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,7 @@ export class OB11Constructor {
user_id: parseInt(msg.senderUin!),
time: parseInt(msg.msgTime) || Date.now(),
message_id: msg.id!,
message_seq: msg.id!,
real_id: msg.id!,
message_type: msg.chatType == ChatType.group ? 'group' : 'private',
sender: {

View File

@ -77,6 +77,7 @@ export interface OB11Message {
self_id?: number,
time: number,
message_id: number,
message_seq: number, // 和message_id一样
real_id: number,
user_id: number,
group_id?: number,