{"action":"created","issue":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/4522","repository_url":"https://api.github.com/repos/RocketChat/Rocket.Chat","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/4522/labels{/name}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/4522/comments","events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/4522/events","html_url":"https://github.com/RocketChat/Rocket.Chat/pull/4522","id":180706786,"number":4522,"title":"Livechat Transcript","user":{"login":"AlecTroemel","id":8620042,"avatar_url":"https://avatars.githubusercontent.com/u/8620042?v=3","gravatar_id":"","url":"https://api.github.com/users/AlecTroemel","html_url":"https://github.com/AlecTroemel","followers_url":"https://api.github.com/users/AlecTroemel/followers","following_url":"https://api.github.com/users/AlecTroemel/following{/other_user}","gists_url":"https://api.github.com/users/AlecTroemel/gists{/gist_id}","starred_url":"https://api.github.com/users/AlecTroemel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlecTroemel/subscriptions","organizations_url":"https://api.github.com/users/AlecTroemel/orgs","repos_url":"https://api.github.com/users/AlecTroemel/repos","events_url":"https://api.github.com/users/AlecTroemel/events{/privacy}","received_events_url":"https://api.github.com/users/AlecTroemel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"sampaiodiego","id":8591547,"avatar_url":"https://avatars.githubusercontent.com/u/8591547?v=3","gravatar_id":"","url":"https://api.github.com/users/sampaiodiego","html_url":"https://github.com/sampaiodiego","followers_url":"https://api.github.com/users/sampaiodiego/followers","following_url":"https://api.github.com/users/sampaiodiego/following{/other_user}","gists_url":"https://api.github.com/users/sampaiodiego/gists{/gist_id}","starred_url":"https://api.github.com/users/sampaiodiego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sampaiodiego/subscriptions","organizations_url":"https://api.github.com/users/sampaiodiego/orgs","repos_url":"https://api.github.com/users/sampaiodiego/repos","events_url":"https://api.github.com/users/sampaiodiego/events{/privacy}","received_events_url":"https://api.github.com/users/sampaiodiego/received_events","type":"User","site_admin":false},"assignees":[{"login":"sampaiodiego","id":8591547,"avatar_url":"https://avatars.githubusercontent.com/u/8591547?v=3","gravatar_id":"","url":"https://api.github.com/users/sampaiodiego","html_url":"https://github.com/sampaiodiego","followers_url":"https://api.github.com/users/sampaiodiego/followers","following_url":"https://api.github.com/users/sampaiodiego/following{/other_user}","gists_url":"https://api.github.com/users/sampaiodiego/gists{/gist_id}","starred_url":"https://api.github.com/users/sampaiodiego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sampaiodiego/subscriptions","organizations_url":"https://api.github.com/users/sampaiodiego/orgs","repos_url":"https://api.github.com/users/sampaiodiego/repos","events_url":"https://api.github.com/users/sampaiodiego/events{/privacy}","received_events_url":"https://api.github.com/users/sampaiodiego/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/milestones/46","html_url":"https://github.com/RocketChat/Rocket.Chat/milestones/0.43.0","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/milestones/46/labels","id":2041107,"number":46,"title":"0.43.0","description":"","creator":{"login":"engelgabriel","id":1000217,"avatar_url":"https://avatars.githubusercontent.com/u/1000217?v=3","gravatar_id":"","url":"https://api.github.com/users/engelgabriel","html_url":"https://github.com/engelgabriel","followers_url":"https://api.github.com/users/engelgabriel/followers","following_url":"https://api.github.com/users/engelgabriel/following{/other_user}","gists_url":"https://api.github.com/users/engelgabriel/gists{/gist_id}","starred_url":"https://api.github.com/users/engelgabriel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/engelgabriel/subscriptions","organizations_url":"https://api.github.com/users/engelgabriel/orgs","repos_url":"https://api.github.com/users/engelgabriel/repos","events_url":"https://api.github.com/users/engelgabriel/events{/privacy}","received_events_url":"https://api.github.com/users/engelgabriel/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":4,"state":"open","created_at":"2016-09-30T23:28:10Z","updated_at":"2016-10-06T17:08:18Z","due_on":"2016-10-10T00:00:00Z","closed_at":null},"comments":4,"created_at":"2016-10-03T18:07:53Z","updated_at":"2016-10-06T17:10:25Z","closed_at":"2016-10-06T17:08:18Z","pull_request":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/4522","html_url":"https://github.com/RocketChat/Rocket.Chat/pull/4522","diff_url":"https://github.com/RocketChat/Rocket.Chat/pull/4522.diff","patch_url":"https://github.com/RocketChat/Rocket.Chat/pull/4522.patch"},"body":"@RocketChat/core \r\nCloses #4079 \r\n\r\nThis adds the option for livechat guest's to have a transcript of their chat emailed to them when a room is closed (either by a guest or agent). \r\n\r\n|  <img width=\"327\" alt=\"screen shot 2016-10-03 at 12 12 38 pm\" src=\"https://cloud.githubusercontent.com/assets/8620042/19046427/ed57b6e4-8962-11e6-9ced-94b4144779b5.png\"> | <img width=\"314\" alt=\"screen shot 2016-10-03 at 12 50 28 pm\" src=\"https://cloud.githubusercontent.com/assets/8620042/19047918/93080804-8969-11e6-8cf5-1bfb0fed140a.png\">  |\r\n|---|---|\r\n\r\n<img width=\"743\" alt=\"screen shot 2016-10-03 at 1 01 29 pm\" src=\"https://cloud.githubusercontent.com/assets/8620042/19047930/9f914270-8969-11e6-836d-9a2c68432c2d.png\">\r\n\r\nUnder the hood the livechat widget now tracks the 'state' of a chat, and when the state changes a corresponding function is invoked. Currently valid states are\r\n\r\n- connecting: currently not connected to any agent, but room is created \r\n- connected: in chat with agent \r\n- closed: the chat has been closed  \r\n\r\nbut these can be expanded on easily. I set it up this way because of other features I plan to PR (replacing message prompt with \"connecting to agent ...\" when in connecting state, show discloser  message on connect, etc)  "},"comment":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/comments/252027543","html_url":"https://github.com/RocketChat/Rocket.Chat/pull/4522#issuecomment-252027543","issue_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/4522","id":252027543,"user":{"login":"sampaiodiego","id":8591547,"avatar_url":"https://avatars.githubusercontent.com/u/8591547?v=3","gravatar_id":"","url":"https://api.github.com/users/sampaiodiego","html_url":"https://github.com/sampaiodiego","followers_url":"https://api.github.com/users/sampaiodiego/followers","following_url":"https://api.github.com/users/sampaiodiego/following{/other_user}","gists_url":"https://api.github.com/users/sampaiodiego/gists{/gist_id}","starred_url":"https://api.github.com/users/sampaiodiego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sampaiodiego/subscriptions","organizations_url":"https://api.github.com/users/sampaiodiego/orgs","repos_url":"https://api.github.com/users/sampaiodiego/repos","events_url":"https://api.github.com/users/sampaiodiego/events{/privacy}","received_events_url":"https://api.github.com/users/sampaiodiego/received_events","type":"User","site_admin":false},"created_at":"2016-10-06T17:10:25Z","updated_at":"2016-10-06T17:10:25Z","body":"Thanks again @AlecTroemel \r\n\r\nI did some fixes/improvements (80bb9d685f519541aa76d0e4f9bbe1db973e5a59, 725fa52ff1250fa5dd19f1bff6fc96fc44d31936, 5e65b5f99b8ebb5fe08bf37b360ae29a422c823c, d0afa3f037243ac587f945d2c03544114a763dc0, 6e72100ebb9bd812fec567a0a1969fe4e93adc33), hope you like it :smile: \r\n\r\n"}}
{"actor":{"display_login":"sampaiodiego"}}