mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-03-12 05:21:18 +00:00
fix case where displaying promoted posts failed with an exception
This commit is contained in:
parent
18b84c9443
commit
66f083ef55
@ -103,8 +103,7 @@ function requestObj(users, mode, count, getspam)
|
|||||||
this.reportProcessedPost = function(user, id, shown) {
|
this.reportProcessedPost = function(user, id, shown) {
|
||||||
if( this.getspam ) {
|
if( this.getspam ) {
|
||||||
_idTrackerSpam.receivedId(this.mode, id, shown);
|
_idTrackerSpam.receivedId(this.mode, id, shown);
|
||||||
}
|
} else if( this.users.indexOf(user) >= 0 ) {
|
||||||
if( this.users.indexOf(user) >= 0 ) {
|
|
||||||
_idTrackerMap[user].receivedId(this.mode, id, shown);
|
_idTrackerMap[user].receivedId(this.mode, id, shown);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user