{"action":"closed","issue":{"url":"https://api.github.com/repos/BNolet/RLC/issues/265","repository_url":"https://api.github.com/repos/BNolet/RLC","labels_url":"https://api.github.com/repos/BNolet/RLC/issues/265/labels{/name}","comments_url":"https://api.github.com/repos/BNolet/RLC/issues/265/comments","events_url":"https://api.github.com/repos/BNolet/RLC/issues/265/events","html_url":"https://github.com/BNolet/RLC/issues/265","id":154906490,"number":265,"title":"Pure Ajax RLC","user":{"login":"Stjerneklar","id":2364114,"avatar_url":"https://avatars.githubusercontent.com/u/2364114?v=3","gravatar_id":"","url":"https://api.github.com/users/Stjerneklar","html_url":"https://github.com/Stjerneklar","followers_url":"https://api.github.com/users/Stjerneklar/followers","following_url":"https://api.github.com/users/Stjerneklar/following{/other_user}","gists_url":"https://api.github.com/users/Stjerneklar/gists{/gist_id}","starred_url":"https://api.github.com/users/Stjerneklar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stjerneklar/subscriptions","organizations_url":"https://api.github.com/users/Stjerneklar/orgs","repos_url":"https://api.github.com/users/Stjerneklar/repos","events_url":"https://api.github.com/users/Stjerneklar/events{/privacy}","received_events_url":"https://api.github.com/users/Stjerneklar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/BNolet/RLC/labels/Feature%20improvement","name":"Feature improvement","color":"0052cc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-15T12:34:51Z","updated_at":"2016-05-18T20:28:42Z","closed_at":"2016-05-18T20:28:41Z","body":"Currently, RLC flirts with the reddit live api but does not use it exclusively when dealing with reddit live.\r\n\r\nideally, RLC should only use ajax to the reddit live api so we can handle things better and eventualy run RLC outside of a live room.\r\n\r\nPlaces where reddit live api has been taken into use:\r\n\r\nLoading initial messages (via call to room/.json )\r\n\r\nLoad old messages        (via call to room/.json with additional parameters)\r\nNew message recived    (via websocket)\r\nMessage was deleted     (via websocket)\r\n\r\nPlaces where reddit live api should be used instead of hacking native reddit live:\r\n\r\nSend message                    (we kidnap the input field from native live and use it to send)  #283 \r\nDelete comment                  (rlc-message is matched with li.liveupdate to find the message to delete) #279 \r\nEmbed display in left panel (rlc-message is matched with li.liveupdate to find the embedded content) #279 \r\n\r\n"}}