{"action":"created","issue":{"url":"https://api.github.com/repos/seishun/node-steam/issues/208","labels_url":"https://api.github.com/repos/seishun/node-steam/issues/208/labels{/name}","comments_url":"https://api.github.com/repos/seishun/node-steam/issues/208/comments","events_url":"https://api.github.com/repos/seishun/node-steam/issues/208/events","html_url":"https://github.com/seishun/node-steam/issues/208","id":97516830,"number":208,"title":"Accepting friend request","user":{"login":"MajorErection","id":13456928,"avatar_url":"https://avatars.githubusercontent.com/u/13456928?v=3","gravatar_id":"","url":"https://api.github.com/users/MajorErection","html_url":"https://github.com/MajorErection","followers_url":"https://api.github.com/users/MajorErection/followers","following_url":"https://api.github.com/users/MajorErection/following{/other_user}","gists_url":"https://api.github.com/users/MajorErection/gists{/gist_id}","starred_url":"https://api.github.com/users/MajorErection/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MajorErection/subscriptions","organizations_url":"https://api.github.com/users/MajorErection/orgs","repos_url":"https://api.github.com/users/MajorErection/repos","events_url":"https://api.github.com/users/MajorErection/events{/privacy}","received_events_url":"https://api.github.com/users/MajorErection/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-27T17:45:23Z","updated_at":"2015-07-27T18:07:37Z","closed_at":"2015-07-27T17:50:05Z","body":" I'm not sure how to fix this but I'm getting\r\nTypeError: Cannot read property 'PendingInvitee' of undefined\r\n\r\n steamFriends.on('friend', function(steamID, relationship) {\r\n             if (relationship == steamFriends.EFriendRelationship.PendingInvitee) {\r\n                 console.log ('[' + steamID + '] Accepted friend request');\r\n                 steamFriends.addFriend(steamID);\r\n             }\r\n             else if (relationship == steamFriends.EFriendRelationship.None) {\r\n                 console.log('[' + steamID + '] Un-friended');\r\n             }\r\n         });"},"comment":{"url":"https://api.github.com/repos/seishun/node-steam/issues/comments/125290881","html_url":"https://github.com/seishun/node-steam/issues/208#issuecomment-125290881","issue_url":"https://api.github.com/repos/seishun/node-steam/issues/208","id":125290881,"user":{"login":"seishun","id":988441,"avatar_url":"https://avatars.githubusercontent.com/u/988441?v=3","gravatar_id":"","url":"https://api.github.com/users/seishun","html_url":"https://github.com/seishun","followers_url":"https://api.github.com/users/seishun/followers","following_url":"https://api.github.com/users/seishun/following{/other_user}","gists_url":"https://api.github.com/users/seishun/gists{/gist_id}","starred_url":"https://api.github.com/users/seishun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seishun/subscriptions","organizations_url":"https://api.github.com/users/seishun/orgs","repos_url":"https://api.github.com/users/seishun/repos","events_url":"https://api.github.com/users/seishun/events{/privacy}","received_events_url":"https://api.github.com/users/seishun/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T18:07:37Z","updated_at":"2015-07-27T18:07:37Z","body":"Thanks for reminding, fixed in c3fca6a24d413eba78daa85c8c4bfc5c4dec8596."}}