docs(ClientUser): mark email field as user account only property (#2306)

* Store Mail - User Account Only

Added that info

* docs(ClientUser): mark email field as nullable
This commit is contained in:
Lasse Niermann
2018-02-01 20:06:59 +01:00
committed by SpaceEEC
parent 52c402faea
commit 1f14758e0c

View File

@@ -21,7 +21,8 @@ class ClientUser extends User {
/**
* The email of this account
* @type {string}
* <warn>This is only filled when using a user account.</warn>
* @type {?string}
*/
this.email = data.email;
this.localPresence = {};