summaryrefslogtreecommitdiffstats
path: root/model
diff options
context:
space:
mode:
authorenahum <nahumhbl@gmail.com>2016-08-24 20:48:40 -0300
committerGitHub <noreply@github.com>2016-08-24 20:48:40 -0300
commit7bd26b19273e17ad0b6fb9e7fb89d04b9e171cfe (patch)
tree63179e631a38a1bc9b824ceb5c1cceafe42ef525 /model
parente6d15f77e8fa4ec27e104297667b28dc5f8517ca (diff)
downloadchat-7bd26b19273e17ad0b6fb9e7fb89d04b9e171cfe.tar.gz
chat-7bd26b19273e17ad0b6fb9e7fb89d04b9e171cfe.tar.bz2
chat-7bd26b19273e17ad0b6fb9e7fb89d04b9e171cfe.zip
Add missing directProfiles updates on real-time user updates (#3876)
Diffstat (limited to 'model')
-rw-r--r--model/user.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/model/user.go b/model/user.go
index f857d5ef4..b0c30619c 100644
--- a/model/user.go
+++ b/model/user.go
@@ -235,7 +235,6 @@ func (u *User) Sanitize(options map[string]bool) {
}
func (u *User) ClearNonProfileFields() {
- u.UpdateAt = 0
u.Password = ""
u.AuthData = new(string)
*u.AuthData = ""