fix ui issues

This commit is contained in:
Girish Ramakrishnan
2016-05-29 23:26:49 -07:00
parent 311efe5d10
commit b37226d4d1
4 changed files with 14 additions and 7 deletions

View File

@@ -342,7 +342,7 @@ function updateUser(userId, username, email, displayName, auditSource, callback)
if (error) return callback(new UserError(UserError.INTERNAL_ERROR, error));
eventlog.add(eventlog.ACTION_USER_UPDATE, auditSource, { userId: userId });
if (username) mailboxes.add(username, NOOP_CALLBACK);
if (username) mailboxes.add(username, NOOP_CALLBACK); // TODO: do this only when username actually changes
callback(null);
});