fix: User&Chat.Settings with wrong params
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user