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 * Represents a user's presence
*/ */
class Presence { class Presence {
constructor(data) { constructor(data = {}) {
if (!data) {
data = {};
}
/** /**
* The status of the presence: * The status of the presence:
* *