fix: 蠢到家行为之 getTheOtherUserIdOrThrow 写成了 updateSettings
This commit is contained in:
@@ -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,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user