Clean up presence constructor

This commit is contained in:
Schuyler Cebulskie
2016-11-12 17:46:11 -05:00
parent 305070dded
commit 318bb52c36

View File

@@ -2,10 +2,7 @@
* Represents a user's presence
*/
class Presence {
constructor(data) {
if (!data) {
data = {};
}
constructor(data = {}) {
/**
* The status of the presence:
*