{"action":"created","issue":{"url":"https://api.github.com/repos/SynapseNetwork/Synapse-Server/issues/4","repository_url":"https://api.github.com/repos/SynapseNetwork/Synapse-Server","labels_url":"https://api.github.com/repos/SynapseNetwork/Synapse-Server/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/SynapseNetwork/Synapse-Server/issues/4/comments","events_url":"https://api.github.com/repos/SynapseNetwork/Synapse-Server/issues/4/events","html_url":"https://github.com/SynapseNetwork/Synapse-Server/issues/4","id":220771284,"number":4,"title":"Set user online status depending on activity or close application message","user":{"login":"MarFerPra","id":7567786,"avatar_url":"https://avatars3.githubusercontent.com/u/7567786?v=3","gravatar_id":"","url":"https://api.github.com/users/MarFerPra","html_url":"https://github.com/MarFerPra","followers_url":"https://api.github.com/users/MarFerPra/followers","following_url":"https://api.github.com/users/MarFerPra/following{/other_user}","gists_url":"https://api.github.com/users/MarFerPra/gists{/gist_id}","starred_url":"https://api.github.com/users/MarFerPra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarFerPra/subscriptions","organizations_url":"https://api.github.com/users/MarFerPra/orgs","repos_url":"https://api.github.com/users/MarFerPra/repos","events_url":"https://api.github.com/users/MarFerPra/events{/privacy}","received_events_url":"https://api.github.com/users/MarFerPra/received_events","type":"User","site_admin":false},"labels":[{"id":580961124,"url":"https://api.github.com/repos/SynapseNetwork/Synapse-Server/labels/Story","name":"Story","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":{"login":"MarFerPra","id":7567786,"avatar_url":"https://avatars3.githubusercontent.com/u/7567786?v=3","gravatar_id":"","url":"https://api.github.com/users/MarFerPra","html_url":"https://github.com/MarFerPra","followers_url":"https://api.github.com/users/MarFerPra/followers","following_url":"https://api.github.com/users/MarFerPra/following{/other_user}","gists_url":"https://api.github.com/users/MarFerPra/gists{/gist_id}","starred_url":"https://api.github.com/users/MarFerPra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarFerPra/subscriptions","organizations_url":"https://api.github.com/users/MarFerPra/orgs","repos_url":"https://api.github.com/users/MarFerPra/repos","events_url":"https://api.github.com/users/MarFerPra/events{/privacy}","received_events_url":"https://api.github.com/users/MarFerPra/received_events","type":"User","site_admin":false},"assignees":[{"login":"MarFerPra","id":7567786,"avatar_url":"https://avatars3.githubusercontent.com/u/7567786?v=3","gravatar_id":"","url":"https://api.github.com/users/MarFerPra","html_url":"https://github.com/MarFerPra","followers_url":"https://api.github.com/users/MarFerPra/followers","following_url":"https://api.github.com/users/MarFerPra/following{/other_user}","gists_url":"https://api.github.com/users/MarFerPra/gists{/gist_id}","starred_url":"https://api.github.com/users/MarFerPra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarFerPra/subscriptions","organizations_url":"https://api.github.com/users/MarFerPra/orgs","repos_url":"https://api.github.com/users/MarFerPra/repos","events_url":"https://api.github.com/users/MarFerPra/events{/privacy}","received_events_url":"https://api.github.com/users/MarFerPra/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/SynapseNetwork/Synapse-Server/milestones/1","html_url":"https://github.com/SynapseNetwork/Synapse-Server/milestone/1","labels_url":"https://api.github.com/repos/SynapseNetwork/Synapse-Server/milestones/1/labels","id":2448376,"number":1,"title":"1. Messaging system using Signal protocol","description":"","creator":{"login":"MarFerPra","id":7567786,"avatar_url":"https://avatars3.githubusercontent.com/u/7567786?v=3","gravatar_id":"","url":"https://api.github.com/users/MarFerPra","html_url":"https://github.com/MarFerPra","followers_url":"https://api.github.com/users/MarFerPra/followers","following_url":"https://api.github.com/users/MarFerPra/following{/other_user}","gists_url":"https://api.github.com/users/MarFerPra/gists{/gist_id}","starred_url":"https://api.github.com/users/MarFerPra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarFerPra/subscriptions","organizations_url":"https://api.github.com/users/MarFerPra/orgs","repos_url":"https://api.github.com/users/MarFerPra/repos","events_url":"https://api.github.com/users/MarFerPra/events{/privacy}","received_events_url":"https://api.github.com/users/MarFerPra/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2017-04-10T20:58:41Z","updated_at":"2017-04-10T21:08:47Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2017-04-10T21:08:47Z","updated_at":"2017-04-11T13:48:53Z","closed_at":null,"body":"- Set up regular 'ping' events from the server (broadcast) every X min to know who's online. (TODO: Research if there's a better way)\r\n\r\n- Modify user 'online' field in the DB when the server receives a 'disconnected' event from web socket or there's no response from regular 'ping' events from the server.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/SynapseNetwork/Synapse-Server/issues/comments/293268851","html_url":"https://github.com/SynapseNetwork/Synapse-Server/issues/4#issuecomment-293268851","issue_url":"https://api.github.com/repos/SynapseNetwork/Synapse-Server/issues/4","id":293268851,"user":{"login":"MarFerPra","id":7567786,"avatar_url":"https://avatars3.githubusercontent.com/u/7567786?v=3","gravatar_id":"","url":"https://api.github.com/users/MarFerPra","html_url":"https://github.com/MarFerPra","followers_url":"https://api.github.com/users/MarFerPra/followers","following_url":"https://api.github.com/users/MarFerPra/following{/other_user}","gists_url":"https://api.github.com/users/MarFerPra/gists{/gist_id}","starred_url":"https://api.github.com/users/MarFerPra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarFerPra/subscriptions","organizations_url":"https://api.github.com/users/MarFerPra/orgs","repos_url":"https://api.github.com/users/MarFerPra/repos","events_url":"https://api.github.com/users/MarFerPra/events{/privacy}","received_events_url":"https://api.github.com/users/MarFerPra/received_events","type":"User","site_admin":false},"created_at":"2017-04-11T13:48:53Z","updated_at":"2017-04-11T13:48:53Z","body":"Updated :) "}}
{"actor":{"display_login":"MarFerPra"}}