{"action":"created","comment":{"url":"https://api.github.com/repos/jitsi/jibri/pulls/comments/192572819","pull_request_review_id":125379179,"id":192572819,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MjU3MjgxOQ==","diff_hunk":"@@ -116,21 +117,31 @@ class XmppApi(\n                             mucClient.sendStanza(JibriPresenceHelper.createPresence(status, it))\n                         }\n                     }\n+\n+                    val updatePresenceStanza: (Presence) -> Unit = { presence ->","path":"src/main/kotlin/org/jitsi/jibri/api/xmpp/XmppApi.kt","position":13,"original_position":13,"commit_id":"3e34bc5d9e3d9fad94187a8480470dc5d9d4fe73","original_commit_id":"3e34bc5d9e3d9fad94187a8480470dc5d9d4fe73","user":{"login":"bbaldino","id":4016469,"node_id":"MDQ6VXNlcjQwMTY0Njk=","avatar_url":"https://avatars2.githubusercontent.com/u/4016469?v=4","gravatar_id":"","url":"https://api.github.com/users/bbaldino","html_url":"https://github.com/bbaldino","followers_url":"https://api.github.com/users/bbaldino/followers","following_url":"https://api.github.com/users/bbaldino/following{/other_user}","gists_url":"https://api.github.com/users/bbaldino/gists{/gist_id}","starred_url":"https://api.github.com/users/bbaldino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbaldino/subscriptions","organizations_url":"https://api.github.com/users/bbaldino/orgs","repos_url":"https://api.github.com/users/bbaldino/repos","events_url":"https://api.github.com/users/bbaldino/events{/privacy}","received_events_url":"https://api.github.com/users/bbaldino/received_events","type":"User","site_admin":false},"body":"i think my other comment got lost.  can you move this to a private member function?","created_at":"2018-06-02T23:15:46Z","updated_at":"2018-06-02T23:15:46Z","html_url":"https://github.com/jitsi/jibri/pull/121#discussion_r192572819","pull_request_url":"https://api.github.com/repos/jitsi/jibri/pulls/121","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/jitsi/jibri/pulls/comments/192572819"},"html":{"href":"https://github.com/jitsi/jibri/pull/121#discussion_r192572819"},"pull_request":{"href":"https://api.github.com/repos/jitsi/jibri/pulls/121"}}},"pull_request":{"url":"https://api.github.com/repos/jitsi/jibri/pulls/121","id":192161609,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyMTYxNjA5","html_url":"https://github.com/jitsi/jibri/pull/121","diff_url":"https://github.com/jitsi/jibri/pull/121.diff","patch_url":"https://github.com/jitsi/jibri/pull/121.patch","issue_url":"https://api.github.com/repos/jitsi/jibri/issues/121","number":121,"state":"open","locked":false,"title":"Reconnects muc and update jibri status on xmpp connection reconnect.","user":{"login":"damencho","id":3263098,"node_id":"MDQ6VXNlcjMyNjMwOTg=","avatar_url":"https://avatars3.githubusercontent.com/u/3263098?v=4","gravatar_id":"","url":"https://api.github.com/users/damencho","html_url":"https://github.com/damencho","followers_url":"https://api.github.com/users/damencho/followers","following_url":"https://api.github.com/users/damencho/following{/other_user}","gists_url":"https://api.github.com/users/damencho/gists{/gist_id}","starred_url":"https://api.github.com/users/damencho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damencho/subscriptions","organizations_url":"https://api.github.com/users/damencho/orgs","repos_url":"https://api.github.com/users/damencho/repos","events_url":"https://api.github.com/users/damencho/events{/privacy}","received_events_url":"https://api.github.com/users/damencho/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-01T23:07:18Z","updated_at":"2018-06-02T23:15:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"99badb7b6ea3680be3ec412c22333ba35c5670f0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/jitsi/jibri/pulls/121/commits","review_comments_url":"https://api.github.com/repos/jitsi/jibri/pulls/121/comments","review_comment_url":"https://api.github.com/repos/jitsi/jibri/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jitsi/jibri/issues/121/comments","statuses_url":"https://api.github.com/repos/jitsi/jibri/statuses/3e34bc5d9e3d9fad94187a8480470dc5d9d4fe73","head":{"label":"jitsi:update-status-on-reconnect","ref":"update-status-on-reconnect","sha":"3e34bc5d9e3d9fad94187a8480470dc5d9d4fe73","user":{"login":"jitsi","id":3671647,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NzE2NDc=","avatar_url":"https://avatars2.githubusercontent.com/u/3671647?v=4","gravatar_id":"","url":"https://api.github.com/users/jitsi","html_url":"https://github.com/jitsi","followers_url":"https://api.github.com/users/jitsi/followers","following_url":"https://api.github.com/users/jitsi/following{/other_user}","gists_url":"https://api.github.com/users/jitsi/gists{/gist_id}","starred_url":"https://api.github.com/users/jitsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jitsi/subscriptions","organizations_url":"https://api.github.com/users/jitsi/orgs","repos_url":"https://api.github.com/users/jitsi/repos","events_url":"https://api.github.com/users/jitsi/events{/privacy}","received_events_url":"https://api.github.com/users/jitsi/received_events","type":"Organization","site_admin":false},"repo":{"id":51473177,"node_id":"MDEwOlJlcG9zaXRvcnk1MTQ3MzE3Nw==","name":"jibri","full_name":"jitsi/jibri","owner":{"login":"jitsi","id":3671647,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NzE2NDc=","avatar_url":"https://avatars2.githubusercontent.com/u/3671647?v=4","gravatar_id":"","url":"https://api.github.com/users/jitsi","html_url":"https://github.com/jitsi","followers_url":"https://api.github.com/users/jitsi/followers","following_url":"https://api.github.com/users/jitsi/following{/other_user}","gists_url":"https://api.github.com/users/jitsi/gists{/gist_id}","starred_url":"https://api.github.com/users/jitsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jitsi/subscriptions","organizations_url":"https://api.github.com/users/jitsi/orgs","repos_url":"https://api.github.com/users/jitsi/repos","events_url":"https://api.github.com/users/jitsi/events{/privacy}","received_events_url":"https://api.github.com/users/jitsi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jitsi/jibri","description":"Jitsi BRoadcasting Infrastructure","fork":false,"url":"https://api.github.com/repos/jitsi/jibri","forks_url":"https://api.github.com/repos/jitsi/jibri/forks","keys_url":"https://api.github.com/repos/jitsi/jibri/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jitsi/jibri/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jitsi/jibri/teams","hooks_url":"https://api.github.com/repos/jitsi/jibri/hooks","issue_events_url":"https://api.github.com/repos/jitsi/jibri/issues/events{/number}","events_url":"https://api.github.com/repos/jitsi/jibri/events","assignees_url":"https://api.github.com/repos/jitsi/jibri/assignees{/user}","branches_url":"https://api.github.com/repos/jitsi/jibri/branches{/branch}","tags_url":"https://api.github.com/repos/jitsi/jibri/tags","blobs_url":"https://api.github.com/repos/jitsi/jibri/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jitsi/jibri/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jitsi/jibri/git/refs{/sha}","trees_url":"https://api.github.com/repos/jitsi/jibri/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jitsi/jibri/statuses/{sha}","languages_url":"https://api.github.com/repos/jitsi/jibri/languages","stargazers_url":"https://api.github.com/repos/jitsi/jibri/stargazers","contributors_url":"https://api.github.com/repos/jitsi/jibri/contributors","subscribers_url":"https://api.github.com/repos/jitsi/jibri/subscribers","subscription_url":"https://api.github.com/repos/jitsi/jibri/subscription","commits_url":"https://api.github.com/repos/jitsi/jibri/commits{/sha}","git_commits_url":"https://api.github.com/repos/jitsi/jibri/git/commits{/sha}","comments_url":"https://api.github.com/repos/jitsi/jibri/comments{/number}","issue_comment_url":"https://api.github.com/repos/jitsi/jibri/issues/comments{/number}","contents_url":"https://api.github.com/repos/jitsi/jibri/contents/{+path}","compare_url":"https://api.github.com/repos/jitsi/jibri/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jitsi/jibri/merges","archive_url":"https://api.github.com/repos/jitsi/jibri/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jitsi/jibri/downloads","issues_url":"https://api.github.com/repos/jitsi/jibri/issues{/number}","pulls_url":"https://api.github.com/repos/jitsi/jibri/pulls{/number}","milestones_url":"https://api.github.com/repos/jitsi/jibri/milestones{/number}","notifications_url":"https://api.github.com/repos/jitsi/jibri/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jitsi/jibri/labels{/name}","releases_url":"https://api.github.com/repos/jitsi/jibri/releases{/id}","deployments_url":"https://api.github.com/repos/jitsi/jibri/deployments","created_at":"2016-02-10T21:22:20Z","updated_at":"2018-05-30T18:34:05Z","pushed_at":"2018-06-02T19:48:37Z","git_url":"git://github.com/jitsi/jibri.git","ssh_url":"git@github.com:jitsi/jibri.git","clone_url":"https://github.com/jitsi/jibri.git","svn_url":"https://github.com/jitsi/jibri","homepage":"","size":701,"stargazers_count":65,"watchers_count":65,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":32,"open_issues":9,"watchers":65,"default_branch":"master"}},"base":{"label":"jitsi:master","ref":"master","sha":"8b35684d73fd7dc11e0990e4a953360bbf5e82f9","user":{"login":"jitsi","id":3671647,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NzE2NDc=","avatar_url":"https://avatars2.githubusercontent.com/u/3671647?v=4","gravatar_id":"","url":"https://api.github.com/users/jitsi","html_url":"https://github.com/jitsi","followers_url":"https://api.github.com/users/jitsi/followers","following_url":"https://api.github.com/users/jitsi/following{/other_user}","gists_url":"https://api.github.com/users/jitsi/gists{/gist_id}","starred_url":"https://api.github.com/users/jitsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jitsi/subscriptions","organizations_url":"https://api.github.com/users/jitsi/orgs","repos_url":"https://api.github.com/users/jitsi/repos","events_url":"https://api.github.com/users/jitsi/events{/privacy}","received_events_url":"https://api.github.com/users/jitsi/received_events","type":"Organization","site_admin":false},"repo":{"id":51473177,"node_id":"MDEwOlJlcG9zaXRvcnk1MTQ3MzE3Nw==","name":"jibri","full_name":"jitsi/jibri","owner":{"login":"jitsi","id":3671647,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NzE2NDc=","avatar_url":"https://avatars2.githubusercontent.com/u/3671647?v=4","gravatar_id":"","url":"https://api.github.com/users/jitsi","html_url":"https://github.com/jitsi","followers_url":"https://api.github.com/users/jitsi/followers","following_url":"https://api.github.com/users/jitsi/following{/other_user}","gists_url":"https://api.github.com/users/jitsi/gists{/gist_id}","starred_url":"https://api.github.com/users/jitsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jitsi/subscriptions","organizations_url":"https://api.github.com/users/jitsi/orgs","repos_url":"https://api.github.com/users/jitsi/repos","events_url":"https://api.github.com/users/jitsi/events{/privacy}","received_events_url":"https://api.github.com/users/jitsi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jitsi/jibri","description":"Jitsi BRoadcasting Infrastructure","fork":false,"url":"https://api.github.com/repos/jitsi/jibri","forks_url":"https://api.github.com/repos/jitsi/jibri/forks","keys_url":"https://api.github.com/repos/jitsi/jibri/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jitsi/jibri/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jitsi/jibri/teams","hooks_url":"https://api.github.com/repos/jitsi/jibri/hooks","issue_events_url":"https://api.github.com/repos/jitsi/jibri/issues/events{/number}","events_url":"https://api.github.com/repos/jitsi/jibri/events","assignees_url":"https://api.github.com/repos/jitsi/jibri/assignees{/user}","branches_url":"https://api.github.com/repos/jitsi/jibri/branches{/branch}","tags_url":"https://api.github.com/repos/jitsi/jibri/tags","blobs_url":"https://api.github.com/repos/jitsi/jibri/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jitsi/jibri/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jitsi/jibri/git/refs{/sha}","trees_url":"https://api.github.com/repos/jitsi/jibri/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jitsi/jibri/statuses/{sha}","languages_url":"https://api.github.com/repos/jitsi/jibri/languages","stargazers_url":"https://api.github.com/repos/jitsi/jibri/stargazers","contributors_url":"https://api.github.com/repos/jitsi/jibri/contributors","subscribers_url":"https://api.github.com/repos/jitsi/jibri/subscribers","subscription_url":"https://api.github.com/repos/jitsi/jibri/subscription","commits_url":"https://api.github.com/repos/jitsi/jibri/commits{/sha}","git_commits_url":"https://api.github.com/repos/jitsi/jibri/git/commits{/sha}","comments_url":"https://api.github.com/repos/jitsi/jibri/comments{/number}","issue_comment_url":"https://api.github.com/repos/jitsi/jibri/issues/comments{/number}","contents_url":"https://api.github.com/repos/jitsi/jibri/contents/{+path}","compare_url":"https://api.github.com/repos/jitsi/jibri/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jitsi/jibri/merges","archive_url":"https://api.github.com/repos/jitsi/jibri/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jitsi/jibri/downloads","issues_url":"https://api.github.com/repos/jitsi/jibri/issues{/number}","pulls_url":"https://api.github.com/repos/jitsi/jibri/pulls{/number}","milestones_url":"https://api.github.com/repos/jitsi/jibri/milestones{/number}","notifications_url":"https://api.github.com/repos/jitsi/jibri/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jitsi/jibri/labels{/name}","releases_url":"https://api.github.com/repos/jitsi/jibri/releases{/id}","deployments_url":"https://api.github.com/repos/jitsi/jibri/deployments","created_at":"2016-02-10T21:22:20Z","updated_at":"2018-05-30T18:34:05Z","pushed_at":"2018-06-02T19:48:37Z","git_url":"git://github.com/jitsi/jibri.git","ssh_url":"git@github.com:jitsi/jibri.git","clone_url":"https://github.com/jitsi/jibri.git","svn_url":"https://github.com/jitsi/jibri","homepage":"","size":701,"stargazers_count":65,"watchers_count":65,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":32,"open_issues":9,"watchers":65,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jitsi/jibri/pulls/121"},"html":{"href":"https://github.com/jitsi/jibri/pull/121"},"issue":{"href":"https://api.github.com/repos/jitsi/jibri/issues/121"},"comments":{"href":"https://api.github.com/repos/jitsi/jibri/issues/121/comments"},"review_comments":{"href":"https://api.github.com/repos/jitsi/jibri/pulls/121/comments"},"review_comment":{"href":"https://api.github.com/repos/jitsi/jibri/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jitsi/jibri/pulls/121/commits"},"statuses":{"href":"https://api.github.com/repos/jitsi/jibri/statuses/3e34bc5d9e3d9fad94187a8480470dc5d9d4fe73"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"bbaldino"}}