perf: mirai 信息添加 version:2

This commit is contained in:
Clansty 2023-02-23 14:20:14 +08:00
parent ee57624df3
commit 01c36232af
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -515,7 +515,7 @@ export default class ForwardService {
type: 'mirai',
data: JSON.stringify({
id: senderId,
eqq: { type: 'tg', tgUid: senderId, noSplitSender: true },
eqq: { type: 'tg', tgUid: senderId, noSplitSender: true, version: 2 },
q2tgSkip: true,
}, undefined, 0),
},
@ -541,7 +541,7 @@ export default class ForwardService {
type: 'mirai',
data: JSON.stringify({
id: senderId,
eqq: { type: 'tg', tgUid: senderId, noSplitSender: this.instance.workMode === 'personal' },
eqq: { type: 'tg', tgUid: senderId, noSplitSender: this.instance.workMode === 'personal', version: 2 },
}, undefined, 0),
});
qqMessages.push({