From cef3ad8e48f78a0e2ffbdce1eda88015be3f96e1 Mon Sep 17 00:00:00 2001 From: rr- Date: Sat, 13 Aug 2016 11:50:39 +0200 Subject: [PATCH] client/models: fix changing avatar --- client/js/models/user.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client/js/models/user.js b/client/js/models/user.js index 9768e17..fa5afd3 100644 --- a/client/js/models/user.js +++ b/client/js/models/user.js @@ -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) {