Browse Source

fix case where displaying promoted posts failed with an exception

master
Miguel Freitas 11 years ago
parent
commit
66f083ef55
  1. 3
      twister_timeline.js

3
twister_timeline.js

@ -103,8 +103,7 @@ function requestObj(users, mode, count, getspam) @@ -103,8 +103,7 @@ function requestObj(users, mode, count, getspam)
this.reportProcessedPost = function(user, id, shown) {
if( this.getspam ) {
_idTrackerSpam.receivedId(this.mode, id, shown);
}
if( this.users.indexOf(user) >= 0 ) {
} else if( this.users.indexOf(user) >= 0 ) {
_idTrackerMap[user].receivedId(this.mode, id, shown);
}
}

Loading…
Cancel
Save