Permalink
Browse files

Deal with deleted users for the `/friends` feature

  • Loading branch information...
RussellLVP committed Jan 8, 2017
1 parent e78b458 commit bcaeb638097c0c5e644be459bd66a72dd3dd5663
Showing with 2 additions and 1 deletion.
  1. +2 −1 javascript/features/friends/friends_database.js
@@ -24,7 +24,8 @@ const LOAD_QUERY = `
users_mutable ON users_mutable.user_id = users_friends.friend_id
WHERE
users_friends.user_id = ? AND
users_friends.friend_active = 1`;
users_friends.friend_active = 1 AND
users.username IS NOT NULL`;
// Query for loading the list of friends of a specific player.
const GET_FRIENDS_QUERY = `

0 comments on commit bcaeb63

Please sign in to comment.