{"action":"opened","issue":{"url":"https://api.github.com/repos/evewspace/eve-wspace/issues/266","repository_url":"https://api.github.com/repos/evewspace/eve-wspace","labels_url":"https://api.github.com/repos/evewspace/eve-wspace/issues/266/labels{/name}","comments_url":"https://api.github.com/repos/evewspace/eve-wspace/issues/266/comments","events_url":"https://api.github.com/repos/evewspace/eve-wspace/issues/266/events","html_url":"https://github.com/evewspace/eve-wspace/issues/266","id":197179095,"number":266,"title":"Active Pilots List","user":{"login":"EvilGrinUK","id":2217729,"avatar_url":"https://avatars.githubusercontent.com/u/2217729?v=3","gravatar_id":"","url":"https://api.github.com/users/EvilGrinUK","html_url":"https://github.com/EvilGrinUK","followers_url":"https://api.github.com/users/EvilGrinUK/followers","following_url":"https://api.github.com/users/EvilGrinUK/following{/other_user}","gists_url":"https://api.github.com/users/EvilGrinUK/gists{/gist_id}","starred_url":"https://api.github.com/users/EvilGrinUK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvilGrinUK/subscriptions","organizations_url":"https://api.github.com/users/EvilGrinUK/orgs","repos_url":"https://api.github.com/users/EvilGrinUK/repos","events_url":"https://api.github.com/users/EvilGrinUK/events{/privacy}","received_events_url":"https://api.github.com/users/EvilGrinUK/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-22T13:52:36Z","updated_at":"2016-12-22T13:52:36Z","closed_at":null,"body":"Post CREST / ESI integration  ( see #162 ) the 'Active Pilots' list is inaccurate. It will list a pilot as active when they are also docked or offline. Which obviously isn't true. \r\n\r\nTo check for docked pilots check if the structure_id or station_id optional field is returned in the ESI location API request. If they are present then it means the pilot is not in space and should not be displayed as being active.  It could be possible to look up the structure / station IDs and display them as docked (and where they are docked) instead.\r\n\r\nThe ESI location API still returns a valid location if the pilot isn't even logged into the game and places them in the Active Pilots List. However the CREST location API does not return any data if the pilot is offline. Thus a CREST location API check needs to be done to find out if a pilot is online or not\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"EvilGrinUK"}}