forked from cory/tildefriends
Null check, though how did we get here?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3748 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -73,7 +73,7 @@ async function followers(db, visible_users, id) {
|
||||
if (g_followers_cache[id]) {
|
||||
return g_followers_cache[id];
|
||||
}
|
||||
var results = visible_users.filter(user => g_following_cache[user].has(id));
|
||||
var results = visible_users.filter(user => g_following_cache[user] && g_following_cache[user].has(id));
|
||||
g_followers_cache[id] = results;
|
||||
return results;
|
||||
}
|
||||
|
Reference in New Issue
Block a user