{"action":"created","issue":{"url":"https://api.github.com/repos/HE-Arc/cadexmus2/issues/43","repository_url":"https://api.github.com/repos/HE-Arc/cadexmus2","labels_url":"https://api.github.com/repos/HE-Arc/cadexmus2/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/HE-Arc/cadexmus2/issues/43/comments","events_url":"https://api.github.com/repos/HE-Arc/cadexmus2/issues/43/events","html_url":"https://github.com/HE-Arc/cadexmus2/issues/43","id":195011446,"number":43,"title":"Chat : récupération uniquement des nouveaux messages","user":{"login":"j4kim","id":19431331,"avatar_url":"https://avatars.githubusercontent.com/u/19431331?v=3","gravatar_id":"","url":"https://api.github.com/users/j4kim","html_url":"https://github.com/j4kim","followers_url":"https://api.github.com/users/j4kim/followers","following_url":"https://api.github.com/users/j4kim/following{/other_user}","gists_url":"https://api.github.com/users/j4kim/gists{/gist_id}","starred_url":"https://api.github.com/users/j4kim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j4kim/subscriptions","organizations_url":"https://api.github.com/users/j4kim/orgs","repos_url":"https://api.github.com/users/j4kim/repos","events_url":"https://api.github.com/users/j4kim/events{/privacy}","received_events_url":"https://api.github.com/users/j4kim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-12T16:00:08Z","updated_at":"2016-12-12T16:19:06Z","closed_at":null,"body":"Voilà comment j'imagine ça :\r\n- première connexion du client, il reçoit tous les messages (ou les 30 derniers) + un timestamp du serveur\r\n- le client garde le timestamp en local\r\n- 3 secondes plus tard, il refait une requête en donnant le timestamp\r\n- le serveur récupère les messages plus vieux que ce timestamp et les renvoie (ou rien si y en a pas) + un nouveau timestamp\r\nainsi de suite"},"comment":{"url":"https://api.github.com/repos/HE-Arc/cadexmus2/issues/comments/266474466","html_url":"https://github.com/HE-Arc/cadexmus2/issues/43#issuecomment-266474466","issue_url":"https://api.github.com/repos/HE-Arc/cadexmus2/issues/43","id":266474466,"user":{"login":"j4kim","id":19431331,"avatar_url":"https://avatars.githubusercontent.com/u/19431331?v=3","gravatar_id":"","url":"https://api.github.com/users/j4kim","html_url":"https://github.com/j4kim","followers_url":"https://api.github.com/users/j4kim/followers","following_url":"https://api.github.com/users/j4kim/following{/other_user}","gists_url":"https://api.github.com/users/j4kim/gists{/gist_id}","starred_url":"https://api.github.com/users/j4kim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j4kim/subscriptions","organizations_url":"https://api.github.com/users/j4kim/orgs","repos_url":"https://api.github.com/users/j4kim/repos","events_url":"https://api.github.com/users/j4kim/events{/privacy}","received_events_url":"https://api.github.com/users/j4kim/received_events","type":"User","site_admin":false},"created_at":"2016-12-12T16:19:06Z","updated_at":"2016-12-12T16:19:06Z","body":"J'ai jamais réussi à l'installer votre chat 😢 \r\nMais ok on regardera ça si on a le time"}}
{"actor":{"display_login":"j4kim"}}