{"action":"created","comment":{"url":"https://api.github.com/repos/mojolingo/candy/pulls/comments/22724637","id":22724637,"diff_hunk":"@@ -625,20 +625,21 @@ Candy.Core.Event = (function(self, Strophe, $) {\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t}\n+\n+\t\t\t\tvar room = Candy.Core.getRoom(roomJid);","path":"src/core/event.js","position":5,"original_position":5,"commit_id":"7ed5d2317168473901abb7c6ea3e018742f39524","original_commit_id":"7ed5d2317168473901abb7c6ea3e018742f39524","user":{"login":"benlangfeld","id":210221,"avatar_url":"https://avatars.githubusercontent.com/u/210221?v=3","gravatar_id":"","url":"https://api.github.com/users/benlangfeld","html_url":"https://github.com/benlangfeld","followers_url":"https://api.github.com/users/benlangfeld/followers","following_url":"https://api.github.com/users/benlangfeld/following{/other_user}","gists_url":"https://api.github.com/users/benlangfeld/gists{/gist_id}","starred_url":"https://api.github.com/users/benlangfeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benlangfeld/subscriptions","organizations_url":"https://api.github.com/users/benlangfeld/orgs","repos_url":"https://api.github.com/users/benlangfeld/repos","events_url":"https://api.github.com/users/benlangfeld/events{/privacy}","received_events_url":"https://api.github.com/users/benlangfeld/received_events","type":"User","site_admin":false},"body":"`room` was already assigned above - I don't think this assignment is necessary.","created_at":"2015-01-09T16:18:59Z","updated_at":"2015-01-09T16:18:59Z","html_url":"https://github.com/mojolingo/candy/pull/5#discussion_r22724637","pull_request_url":"https://api.github.com/repos/mojolingo/candy/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/mojolingo/candy/pulls/comments/22724637"},"html":{"href":"https://github.com/mojolingo/candy/pull/5#discussion_r22724637"},"pull_request":{"href":"https://api.github.com/repos/mojolingo/candy/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/mojolingo/candy/pulls/5","id":26978117,"html_url":"https://github.com/mojolingo/candy/pull/5","diff_url":"https://github.com/mojolingo/candy/pull/5.diff","patch_url":"https://github.com/mojolingo/candy/pull/5.patch","issue_url":"https://api.github.com/repos/mojolingo/candy/issues/5","number":5,"state":"open","locked":false,"title":"[WIP] candy:core.presence.room triggerHandler","user":{"login":"melissanoelle","id":992688,"avatar_url":"https://avatars.githubusercontent.com/u/992688?v=3","gravatar_id":"","url":"https://api.github.com/users/melissanoelle","html_url":"https://github.com/melissanoelle","followers_url":"https://api.github.com/users/melissanoelle/followers","following_url":"https://api.github.com/users/melissanoelle/following{/other_user}","gists_url":"https://api.github.com/users/melissanoelle/gists{/gist_id}","starred_url":"https://api.github.com/users/melissanoelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melissanoelle/subscriptions","organizations_url":"https://api.github.com/users/melissanoelle/orgs","repos_url":"https://api.github.com/users/melissanoelle/repos","events_url":"https://api.github.com/users/melissanoelle/events{/privacy}","received_events_url":"https://api.github.com/users/melissanoelle/received_events","type":"User","site_admin":false},"body":"Still needs to be tested.","created_at":"2015-01-07T18:49:24Z","updated_at":"2015-01-09T16:18:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"46982920cc894c1f471553ab40cec866764fd232","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mojolingo/candy/pulls/5/commits","review_comments_url":"https://api.github.com/repos/mojolingo/candy/pulls/5/comments","review_comment_url":"https://api.github.com/repos/mojolingo/candy/pulls/comments/{number}","comments_url":"https://api.github.com/repos/mojolingo/candy/issues/5/comments","statuses_url":"https://api.github.com/repos/mojolingo/candy/statuses/7ed5d2317168473901abb7c6ea3e018742f39524","head":{"label":"mojolingo:feature/triggerhandler_candy_core_presence_room","ref":"feature/triggerhandler_candy_core_presence_room","sha":"7ed5d2317168473901abb7c6ea3e018742f39524","user":{"login":"mojolingo","id":449831,"avatar_url":"https://avatars.githubusercontent.com/u/449831?v=3","gravatar_id":"","url":"https://api.github.com/users/mojolingo","html_url":"https://github.com/mojolingo","followers_url":"https://api.github.com/users/mojolingo/followers","following_url":"https://api.github.com/users/mojolingo/following{/other_user}","gists_url":"https://api.github.com/users/mojolingo/gists{/gist_id}","starred_url":"https://api.github.com/users/mojolingo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojolingo/subscriptions","organizations_url":"https://api.github.com/users/mojolingo/orgs","repos_url":"https://api.github.com/users/mojolingo/repos","events_url":"https://api.github.com/users/mojolingo/events{/privacy}","received_events_url":"https://api.github.com/users/mojolingo/received_events","type":"Organization","site_admin":false},"repo":{"id":28919448,"name":"candy","full_name":"mojolingo/candy","owner":{"login":"mojolingo","id":449831,"avatar_url":"https://avatars.githubusercontent.com/u/449831?v=3","gravatar_id":"","url":"https://api.github.com/users/mojolingo","html_url":"https://github.com/mojolingo","followers_url":"https://api.github.com/users/mojolingo/followers","following_url":"https://api.github.com/users/mojolingo/following{/other_user}","gists_url":"https://api.github.com/users/mojolingo/gists{/gist_id}","starred_url":"https://api.github.com/users/mojolingo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojolingo/subscriptions","organizations_url":"https://api.github.com/users/mojolingo/orgs","repos_url":"https://api.github.com/users/mojolingo/repos","events_url":"https://api.github.com/users/mojolingo/events{/privacy}","received_events_url":"https://api.github.com/users/mojolingo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mojolingo/candy","description":"JavaScript-based multi-user chat client for XMPP.","fork":true,"url":"https://api.github.com/repos/mojolingo/candy","forks_url":"https://api.github.com/repos/mojolingo/candy/forks","keys_url":"https://api.github.com/repos/mojolingo/candy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mojolingo/candy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mojolingo/candy/teams","hooks_url":"https://api.github.com/repos/mojolingo/candy/hooks","issue_events_url":"https://api.github.com/repos/mojolingo/candy/issues/events{/number}","events_url":"https://api.github.com/repos/mojolingo/candy/events","assignees_url":"https://api.github.com/repos/mojolingo/candy/assignees{/user}","branches_url":"https://api.github.com/repos/mojolingo/candy/branches{/branch}","tags_url":"https://api.github.com/repos/mojolingo/candy/tags","blobs_url":"https://api.github.com/repos/mojolingo/candy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mojolingo/candy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mojolingo/candy/git/refs{/sha}","trees_url":"https://api.github.com/repos/mojolingo/candy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mojolingo/candy/statuses/{sha}","languages_url":"https://api.github.com/repos/mojolingo/candy/languages","stargazers_url":"https://api.github.com/repos/mojolingo/candy/stargazers","contributors_url":"https://api.github.com/repos/mojolingo/candy/contributors","subscribers_url":"https://api.github.com/repos/mojolingo/candy/subscribers","subscription_url":"https://api.github.com/repos/mojolingo/candy/subscription","commits_url":"https://api.github.com/repos/mojolingo/candy/commits{/sha}","git_commits_url":"https://api.github.com/repos/mojolingo/candy/git/commits{/sha}","comments_url":"https://api.github.com/repos/mojolingo/candy/comments{/number}","issue_comment_url":"https://api.github.com/repos/mojolingo/candy/issues/comments/{number}","contents_url":"https://api.github.com/repos/mojolingo/candy/contents/{+path}","compare_url":"https://api.github.com/repos/mojolingo/candy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mojolingo/candy/merges","archive_url":"https://api.github.com/repos/mojolingo/candy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mojolingo/candy/downloads","issues_url":"https://api.github.com/repos/mojolingo/candy/issues{/number}","pulls_url":"https://api.github.com/repos/mojolingo/candy/pulls{/number}","milestones_url":"https://api.github.com/repos/mojolingo/candy/milestones{/number}","notifications_url":"https://api.github.com/repos/mojolingo/candy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mojolingo/candy/labels{/name}","releases_url":"https://api.github.com/repos/mojolingo/candy/releases{/id}","created_at":"2015-01-07T15:08:28Z","updated_at":"2015-01-07T15:57:08Z","pushed_at":"2015-01-09T15:36:24Z","git_url":"git://github.com/mojolingo/candy.git","ssh_url":"git@github.com:mojolingo/candy.git","clone_url":"https://github.com/mojolingo/candy.git","svn_url":"https://github.com/mojolingo/candy","homepage":"http://candy-chat.github.io/candy","size":6580,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":19,"forks":0,"open_issues":19,"watchers":0,"default_branch":"dev"}},"base":{"label":"mojolingo:dev","ref":"dev","sha":"85f6e2c13f6585d42c869cd0aae4534219af8c27","user":{"login":"mojolingo","id":449831,"avatar_url":"https://avatars.githubusercontent.com/u/449831?v=3","gravatar_id":"","url":"https://api.github.com/users/mojolingo","html_url":"https://github.com/mojolingo","followers_url":"https://api.github.com/users/mojolingo/followers","following_url":"https://api.github.com/users/mojolingo/following{/other_user}","gists_url":"https://api.github.com/users/mojolingo/gists{/gist_id}","starred_url":"https://api.github.com/users/mojolingo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojolingo/subscriptions","organizations_url":"https://api.github.com/users/mojolingo/orgs","repos_url":"https://api.github.com/users/mojolingo/repos","events_url":"https://api.github.com/users/mojolingo/events{/privacy}","received_events_url":"https://api.github.com/users/mojolingo/received_events","type":"Organization","site_admin":false},"repo":{"id":28919448,"name":"candy","full_name":"mojolingo/candy","owner":{"login":"mojolingo","id":449831,"avatar_url":"https://avatars.githubusercontent.com/u/449831?v=3","gravatar_id":"","url":"https://api.github.com/users/mojolingo","html_url":"https://github.com/mojolingo","followers_url":"https://api.github.com/users/mojolingo/followers","following_url":"https://api.github.com/users/mojolingo/following{/other_user}","gists_url":"https://api.github.com/users/mojolingo/gists{/gist_id}","starred_url":"https://api.github.com/users/mojolingo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojolingo/subscriptions","organizations_url":"https://api.github.com/users/mojolingo/orgs","repos_url":"https://api.github.com/users/mojolingo/repos","events_url":"https://api.github.com/users/mojolingo/events{/privacy}","received_events_url":"https://api.github.com/users/mojolingo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mojolingo/candy","description":"JavaScript-based multi-user chat client for XMPP.","fork":true,"url":"https://api.github.com/repos/mojolingo/candy","forks_url":"https://api.github.com/repos/mojolingo/candy/forks","keys_url":"https://api.github.com/repos/mojolingo/candy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mojolingo/candy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mojolingo/candy/teams","hooks_url":"https://api.github.com/repos/mojolingo/candy/hooks","issue_events_url":"https://api.github.com/repos/mojolingo/candy/issues/events{/number}","events_url":"https://api.github.com/repos/mojolingo/candy/events","assignees_url":"https://api.github.com/repos/mojolingo/candy/assignees{/user}","branches_url":"https://api.github.com/repos/mojolingo/candy/branches{/branch}","tags_url":"https://api.github.com/repos/mojolingo/candy/tags","blobs_url":"https://api.github.com/repos/mojolingo/candy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mojolingo/candy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mojolingo/candy/git/refs{/sha}","trees_url":"https://api.github.com/repos/mojolingo/candy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mojolingo/candy/statuses/{sha}","languages_url":"https://api.github.com/repos/mojolingo/candy/languages","stargazers_url":"https://api.github.com/repos/mojolingo/candy/stargazers","contributors_url":"https://api.github.com/repos/mojolingo/candy/contributors","subscribers_url":"https://api.github.com/repos/mojolingo/candy/subscribers","subscription_url":"https://api.github.com/repos/mojolingo/candy/subscription","commits_url":"https://api.github.com/repos/mojolingo/candy/commits{/sha}","git_commits_url":"https://api.github.com/repos/mojolingo/candy/git/commits{/sha}","comments_url":"https://api.github.com/repos/mojolingo/candy/comments{/number}","issue_comment_url":"https://api.github.com/repos/mojolingo/candy/issues/comments/{number}","contents_url":"https://api.github.com/repos/mojolingo/candy/contents/{+path}","compare_url":"https://api.github.com/repos/mojolingo/candy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mojolingo/candy/merges","archive_url":"https://api.github.com/repos/mojolingo/candy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mojolingo/candy/downloads","issues_url":"https://api.github.com/repos/mojolingo/candy/issues{/number}","pulls_url":"https://api.github.com/repos/mojolingo/candy/pulls{/number}","milestones_url":"https://api.github.com/repos/mojolingo/candy/milestones{/number}","notifications_url":"https://api.github.com/repos/mojolingo/candy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mojolingo/candy/labels{/name}","releases_url":"https://api.github.com/repos/mojolingo/candy/releases{/id}","created_at":"2015-01-07T15:08:28Z","updated_at":"2015-01-07T15:57:08Z","pushed_at":"2015-01-09T15:36:24Z","git_url":"git://github.com/mojolingo/candy.git","ssh_url":"git@github.com:mojolingo/candy.git","clone_url":"https://github.com/mojolingo/candy.git","svn_url":"https://github.com/mojolingo/candy","homepage":"http://candy-chat.github.io/candy","size":6580,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":19,"forks":0,"open_issues":19,"watchers":0,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/mojolingo/candy/pulls/5"},"html":{"href":"https://github.com/mojolingo/candy/pull/5"},"issue":{"href":"https://api.github.com/repos/mojolingo/candy/issues/5"},"comments":{"href":"https://api.github.com/repos/mojolingo/candy/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/mojolingo/candy/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/mojolingo/candy/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/mojolingo/candy/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/mojolingo/candy/statuses/7ed5d2317168473901abb7c6ea3e018742f39524"}}}}