{"action":"created","issue":{"url":"https://api.github.com/repos/meitar/better-angels/issues/11","labels_url":"https://api.github.com/repos/meitar/better-angels/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/meitar/better-angels/issues/11/comments","events_url":"https://api.github.com/repos/meitar/better-angels/issues/11/events","html_url":"https://github.com/meitar/better-angels/issues/11","id":108032713,"number":11,"title":"\"Safety Information\" modal should automatically disappear when a responder enters shared chat","user":{"login":"meitar","id":18677,"avatar_url":"https://avatars.githubusercontent.com/u/18677?v=3","gravatar_id":"","url":"https://api.github.com/users/meitar","html_url":"https://github.com/meitar","followers_url":"https://api.github.com/users/meitar/followers","following_url":"https://api.github.com/users/meitar/following{/other_user}","gists_url":"https://api.github.com/users/meitar/gists{/gist_id}","starred_url":"https://api.github.com/users/meitar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meitar/subscriptions","organizations_url":"https://api.github.com/users/meitar/orgs","repos_url":"https://api.github.com/users/meitar/repos","events_url":"https://api.github.com/users/meitar/events{/privacy}","received_events_url":"https://api.github.com/users/meitar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/meitar/better-angels/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"meitar","id":18677,"avatar_url":"https://avatars.githubusercontent.com/u/18677?v=3","gravatar_id":"","url":"https://api.github.com/users/meitar","html_url":"https://github.com/meitar","followers_url":"https://api.github.com/users/meitar/followers","following_url":"https://api.github.com/users/meitar/following{/other_user}","gists_url":"https://api.github.com/users/meitar/gists{/gist_id}","starred_url":"https://api.github.com/users/meitar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meitar/subscriptions","organizations_url":"https://api.github.com/users/meitar/orgs","repos_url":"https://api.github.com/users/meitar/repos","events_url":"https://api.github.com/users/meitar/events{/privacy}","received_events_url":"https://api.github.com/users/meitar/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-09-24T00:22:28Z","updated_at":"2015-09-26T23:53:16Z","closed_at":null,"body":"The shared chat implementation currently uses a tlk.io embedded chat, which means we cannot detect events that occur inside the chat from the app shell (because that would be XSS). [I've asked the developers of Tlkio](https://twitter.com/maymaymx/status/646204661884567552) to see if they implemented or are willing to implement `window.postMessage()` for cross-origin event handling.\r\n\r\nThis issue is blocked until they either implement this feature or we implement our own chat solution. (IIRC, @vangogh72 mentioned some level of interest in possibly doing that?)"},"comment":{"url":"https://api.github.com/repos/meitar/better-angels/issues/comments/143505977","html_url":"https://github.com/meitar/better-angels/issues/11#issuecomment-143505977","issue_url":"https://api.github.com/repos/meitar/better-angels/issues/11","id":143505977,"user":{"login":"vangogh72","id":14365791,"avatar_url":"https://avatars.githubusercontent.com/u/14365791?v=3","gravatar_id":"","url":"https://api.github.com/users/vangogh72","html_url":"https://github.com/vangogh72","followers_url":"https://api.github.com/users/vangogh72/followers","following_url":"https://api.github.com/users/vangogh72/following{/other_user}","gists_url":"https://api.github.com/users/vangogh72/gists{/gist_id}","starred_url":"https://api.github.com/users/vangogh72/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vangogh72/subscriptions","organizations_url":"https://api.github.com/users/vangogh72/orgs","repos_url":"https://api.github.com/users/vangogh72/repos","events_url":"https://api.github.com/users/vangogh72/events{/privacy}","received_events_url":"https://api.github.com/users/vangogh72/received_events","type":"User","site_admin":false},"created_at":"2015-09-26T23:53:16Z","updated_at":"2015-09-26T23:53:16Z","body":"I've got our own chat up and running on my VVV. It uses webSockets through Ratchet http://socketo.me/ and that means using composer for dependencies. So I put our code on my fork of better-angels in the BuoyChat folder, but did not include the vendor/ directory that composer builds. \r\n\r\nIt's currently configured to run on the VVV. \r\n\r\nAnyways, you can see the code on my fork. I think it's all there, and you should be able to get it up and running. \r\n\r\nAs of now, the way to specify the user name and chat room is through the URL, ie: \r\n\r\nhttp://192.168.50.4/BuoyChat/BuoyChatClient.php?name=NAME&room=ROOM"}}