client/models: fix changing avatar
This commit is contained in:
parent
aac0ce6ee4
commit
cef3ad8e48
|
@ -66,6 +66,7 @@ class User extends events.EventTarget {
|
|||
detail.avatarStyle = this._avatarStyle;
|
||||
}
|
||||
if (this._avatarContent) {
|
||||
detail.avatarStyle = this._avatarStyle;
|
||||
files.avatar = this._avatarContent;
|
||||
}
|
||||
if (this._password) {
|
||||
|
|
Loading…
Reference in New Issue