|
@@ -811,7 +811,7 @@ SlackData.prototype.buildStatic = function(t, now) {
|
|
|
res["groups"].push(group);
|
|
res["groups"].push(group);
|
|
|
}
|
|
}
|
|
|
for (var typingChan in this.typing) {
|
|
for (var typingChan in this.typing) {
|
|
|
- var tChan;
|
|
|
|
|
|
|
+ var tChan = null;
|
|
|
for (var typingUser in this.typing[typingChan]) {
|
|
for (var typingUser in this.typing[typingChan]) {
|
|
|
if (this.typing[typingChan][typingUser] +3000 >= now) {
|
|
if (this.typing[typingChan][typingUser] +3000 >= now) {
|
|
|
if (!tChan) tChan = {};
|
|
if (!tChan) tChan = {};
|