Skip to content

Commit

Permalink
Merge pull request #4 from dolkensp/hotfix/friends-not-importing
Browse files Browse the repository at this point in the history
Fix friends not importing (again)
  • Loading branch information
peter-dolkens authored Sep 3, 2018
2 parents a32c169 + 492e48e commit d516c93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web_resources/ptYou.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ ptYou.FriendSync = function()
var globalFriends = ptYou.Union(ptYou.global.friends, ptYou.global.contacts);
var allFriends = ptYou.Union(localFriends, globalFriends);

ptYou.newFriends = ptYou.Except(allFriends, localFriends);
ptYou.newFriends = ptYou.Except(allFriends, ptYou.local.friends);

var inboundRequests = ptYou.requests.filter(function(request) { return request.requesting_member_id != ptYou.member_id; }).map(function(request) { return request.members[0].nickname; })
var outboundRequests = ptYou.requests.filter(function(request) { return request.requesting_member_id == ptYou.member_id; }).map(function(request) { return request.members[0].nickname; })
Expand Down

0 comments on commit d516c93

Please sign in to comment.