fix: User&Chat.Settings with wrong params

This commit is contained in:
CrescentLeaf
2025-08-27 10:19:34 +08:00
parent d3a2fc55bd
commit dd96264ce0
2 changed files with 2 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ export default class Chat {
}
getSettings(): Chat.Settings {
return new Settings(JSON.parse(this.bean.settings))
return new Chat.Settings(this, JSON.parse(this.bean.settings))
}
static Settings = class {

View File

@@ -114,7 +114,7 @@ export default class User {
}
getSettings(): User.Settings {
return new Settings(JSON.parse(this.bean.settings))
return new User.Settings(this, JSON.parse(this.bean.settings))
}
static Settings = class {