fix: 蠢到家行为之 getTheOtherUserIdOrThrow 写成了 updateSettings

This commit is contained in:
CrescentLeaf
2025-12-13 18:02:43 +08:00
parent bb065f1ecc
commit 22bf643d5e

View File

@@ -198,7 +198,7 @@ export default class Chat extends BaseClientObject {
} }
} }
async getTheOtherUserIdOrThrow() { async getTheOtherUserIdOrThrow() {
const re = await this.client.invoke("Chat.updateSettings", { const re = await this.client.invoke("Chat.getAnotherUserIdFromPrivate", {
token: this.client.access_token, token: this.client.access_token,
target: this.bean.id, target: this.bean.id,
}) })