Null roles fix

This commit is contained in:
abalabahaha
2016-05-13 20:14:01 -07:00
parent e7882a38ee
commit 81cdb09363
4 changed files with 6 additions and 4 deletions

View File

@@ -1719,7 +1719,9 @@ var InternalClient = (function () {
self.intervals.kai = setInterval(function () {
return self.sendWS({ op: 1, d: Date.now() });
}, data.heartbeat_interval);
console.log(data.read_state.filter(function (s) {
return s.mention_count > 0;
}));
self.user = self.users.add(new _StructuresUser2["default"](data.user, client));
_this41.forceFetchCount = {};