release: 2.5.4

This commit is contained in:
手瓜一十雪
2024-09-16 20:57:56 +08:00
parent 14d2e99071
commit 13ba9c1e4a
7 changed files with 7 additions and 7 deletions

View File

@@ -609,7 +609,7 @@ export class OneBotMsgApi {
[OB11MessageDataType.miniapp]: async () => undefined,
[OB11MessageDataType.contact]: async ({ data }, context) => {
let arkJson = await this.core.apis.UserApi.getBuddyRecommendContactArkJson(data.qq, '');
let arkJson = await this.core.apis.UserApi.getBuddyRecommendContactArkJson(data.id.toString(), '');
return this.ob11ToRawConverters.json({
data: { data: arkJson.arkMsg },
type: OB11MessageDataType.json

View File

@@ -85,7 +85,7 @@ export interface OB11MessageText {
export interface OB11MessageContext {
type: OB11MessageDataType.contact,
data: {
qq: string,
id: string,
}
}
export interface OB11MessageFileBase {