{"action":"created","issue":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/6519","repository_url":"https://api.github.com/repos/RocketChat/Rocket.Chat","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/6519/labels{/name}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/6519/comments","events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/6519/events","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/6519","id":217793634,"number":6519,"title":"Trigger video conferance from custom button (using iframe integration)","user":{"login":"nzhtrtlc","id":17534778,"avatar_url":"https://avatars3.githubusercontent.com/u/17534778?v=3","gravatar_id":"","url":"https://api.github.com/users/nzhtrtlc","html_url":"https://github.com/nzhtrtlc","followers_url":"https://api.github.com/users/nzhtrtlc/followers","following_url":"https://api.github.com/users/nzhtrtlc/following{/other_user}","gists_url":"https://api.github.com/users/nzhtrtlc/gists{/gist_id}","starred_url":"https://api.github.com/users/nzhtrtlc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzhtrtlc/subscriptions","organizations_url":"https://api.github.com/users/nzhtrtlc/orgs","repos_url":"https://api.github.com/users/nzhtrtlc/repos","events_url":"https://api.github.com/users/nzhtrtlc/events{/privacy}","received_events_url":"https://api.github.com/users/nzhtrtlc/received_events","type":"User","site_admin":false},"labels":[{"id":393845863,"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/feat:%20video%20conferencing","name":"feat: video conferencing","color":"1d76db","default":false},{"id":261728511,"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/type:%20new%20feature","name":"type: new feature","color":"f7c6c7","default":false}],"state":"open","locked":false,"assignee":{"login":"geekgonecrazy","id":51996,"avatar_url":"https://avatars3.githubusercontent.com/u/51996?v=3","gravatar_id":"","url":"https://api.github.com/users/geekgonecrazy","html_url":"https://github.com/geekgonecrazy","followers_url":"https://api.github.com/users/geekgonecrazy/followers","following_url":"https://api.github.com/users/geekgonecrazy/following{/other_user}","gists_url":"https://api.github.com/users/geekgonecrazy/gists{/gist_id}","starred_url":"https://api.github.com/users/geekgonecrazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekgonecrazy/subscriptions","organizations_url":"https://api.github.com/users/geekgonecrazy/orgs","repos_url":"https://api.github.com/users/geekgonecrazy/repos","events_url":"https://api.github.com/users/geekgonecrazy/events{/privacy}","received_events_url":"https://api.github.com/users/geekgonecrazy/received_events","type":"User","site_admin":false},"assignees":[{"login":"geekgonecrazy","id":51996,"avatar_url":"https://avatars3.githubusercontent.com/u/51996?v=3","gravatar_id":"","url":"https://api.github.com/users/geekgonecrazy","html_url":"https://github.com/geekgonecrazy","followers_url":"https://api.github.com/users/geekgonecrazy/followers","following_url":"https://api.github.com/users/geekgonecrazy/following{/other_user}","gists_url":"https://api.github.com/users/geekgonecrazy/gists{/gist_id}","starred_url":"https://api.github.com/users/geekgonecrazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekgonecrazy/subscriptions","organizations_url":"https://api.github.com/users/geekgonecrazy/orgs","repos_url":"https://api.github.com/users/geekgonecrazy/repos","events_url":"https://api.github.com/users/geekgonecrazy/events{/privacy}","received_events_url":"https://api.github.com/users/geekgonecrazy/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2017-03-29T07:56:49Z","updated_at":"2017-04-06T19:09:43Z","closed_at":null,"body":"<!-- INSTRUCTION: Complete the information below from your Administration page -->\r\n\r\nRocket.Chat Version: 0.53.0\r\nRunning Instances: 1\r\nNode Version: v6.9.5\r\n\r\nI am using RocketChat with iframe integration. I can open direct chats using this code\r\n\r\n> let username = 'user1234';\r\ndocument.querySelector('iframe').contentWindow.postMessage({\r\n  externalCommand: 'go',\r\n  path: '/direct/' + username\r\n}, '*')\r\n\r\nBut i want to open one-to-one (private) jitsi conferance. I am able to do this in RC iframe but i want to trigger it from my custom button. Not in iframe.\r\nHow can i trigger that video-conferance button ? So it'll open conferance between me and selected user.\r\nNote: i can use window.open(jitsi_link); but it doesn't  insert log that in to user chat screen and it wont sent notification to target user.\r\nThanks."},"comment":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/comments/292281135","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/6519#issuecomment-292281135","issue_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/6519","id":292281135,"user":{"login":"geekgonecrazy","id":51996,"avatar_url":"https://avatars3.githubusercontent.com/u/51996?v=3","gravatar_id":"","url":"https://api.github.com/users/geekgonecrazy","html_url":"https://github.com/geekgonecrazy","followers_url":"https://api.github.com/users/geekgonecrazy/followers","following_url":"https://api.github.com/users/geekgonecrazy/following{/other_user}","gists_url":"https://api.github.com/users/geekgonecrazy/gists{/gist_id}","starred_url":"https://api.github.com/users/geekgonecrazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekgonecrazy/subscriptions","organizations_url":"https://api.github.com/users/geekgonecrazy/orgs","repos_url":"https://api.github.com/users/geekgonecrazy/repos","events_url":"https://api.github.com/users/geekgonecrazy/events{/privacy}","received_events_url":"https://api.github.com/users/geekgonecrazy/received_events","type":"User","site_admin":false},"created_at":"2017-04-06T19:09:43Z","updated_at":"2017-04-06T19:09:43Z","body":"Awesome! Glad you found a solution that works for you"}}
{"actor":{"display_login":"geekgonecrazy"}}