{"action":"created","comment":{"url":"https://api.github.com/repos/exo-addons/chat-application/pulls/comments/76270107","id":76270107,"diff_hunk":"@@ -0,0 +1,143 @@\n+var desktop = (function () {\n+    ROOM_NOTIF_TRIGGER_NORMAL = \"normal\";\n+    ROOM_NOTIF_TRIGGER_SILENCE = \"silence\";\n+    ROOM_NOTIF_TRIGGER_WHEN_KEY_WORD = \"when-key-word\";\n+    ROOM_NOTIF_TRIGGER_WHEN_KEY_WORD_VALUE = \"room-notif-trigger-when-key-word-value\";\n+    \n+\tvar preferredNotification = [];","path":"application/src/main/webapp/js/desktop.js","position":null,"original_position":7,"commit_id":"626f2e2fca4e55f4cf3cab09ed1f11c33b77e72c","original_commit_id":"2a88a1e83145ff36d9e9ca9086b2b6a6ba66b294","user":{"login":"mtrabelsi","id":7538862,"avatar_url":"https://avatars.githubusercontent.com/u/7538862?v=3","gravatar_id":"","url":"https://api.github.com/users/mtrabelsi","html_url":"https://github.com/mtrabelsi","followers_url":"https://api.github.com/users/mtrabelsi/followers","following_url":"https://api.github.com/users/mtrabelsi/following{/other_user}","gists_url":"https://api.github.com/users/mtrabelsi/gists{/gist_id}","starred_url":"https://api.github.com/users/mtrabelsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtrabelsi/subscriptions","organizations_url":"https://api.github.com/users/mtrabelsi/orgs","repos_url":"https://api.github.com/users/mtrabelsi/repos","events_url":"https://api.github.com/users/mtrabelsi/events{/privacy}","received_events_url":"https://api.github.com/users/mtrabelsi/received_events","type":"User","site_admin":false},"body":"done","created_at":"2016-08-25T15:49:19Z","updated_at":"2016-08-25T15:49:19Z","html_url":"https://github.com/exo-addons/chat-application/pull/57#discussion_r76270107","pull_request_url":"https://api.github.com/repos/exo-addons/chat-application/pulls/57","_links":{"self":{"href":"https://api.github.com/repos/exo-addons/chat-application/pulls/comments/76270107"},"html":{"href":"https://github.com/exo-addons/chat-application/pull/57#discussion_r76270107"},"pull_request":{"href":"https://api.github.com/repos/exo-addons/chat-application/pulls/57"}}},"pull_request":{"url":"https://api.github.com/repos/exo-addons/chat-application/pulls/57","id":82328609,"html_url":"https://github.com/exo-addons/chat-application/pull/57","diff_url":"https://github.com/exo-addons/chat-application/pull/57.diff","patch_url":"https://github.com/exo-addons/chat-application/pull/57.patch","issue_url":"https://api.github.com/repos/exo-addons/chat-application/issues/57","number":57,"state":"open","locked":false,"title":"Feature/chat desktop notifications","user":{"login":"mtrabelsi","id":7538862,"avatar_url":"https://avatars.githubusercontent.com/u/7538862?v=3","gravatar_id":"","url":"https://api.github.com/users/mtrabelsi","html_url":"https://github.com/mtrabelsi","followers_url":"https://api.github.com/users/mtrabelsi/followers","following_url":"https://api.github.com/users/mtrabelsi/following{/other_user}","gists_url":"https://api.github.com/users/mtrabelsi/gists{/gist_id}","starred_url":"https://api.github.com/users/mtrabelsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtrabelsi/subscriptions","organizations_url":"https://api.github.com/users/mtrabelsi/orgs","repos_url":"https://api.github.com/users/mtrabelsi/repos","events_url":"https://api.github.com/users/mtrabelsi/events{/privacy}","received_events_url":"https://api.github.com/users/mtrabelsi/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-23T09:10:20Z","updated_at":"2016-08-25T15:49:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/exo-addons/chat-application/pulls/57/commits","review_comments_url":"https://api.github.com/repos/exo-addons/chat-application/pulls/57/comments","review_comment_url":"https://api.github.com/repos/exo-addons/chat-application/pulls/comments{/number}","comments_url":"https://api.github.com/repos/exo-addons/chat-application/issues/57/comments","statuses_url":"https://api.github.com/repos/exo-addons/chat-application/statuses/626f2e2fca4e55f4cf3cab09ed1f11c33b77e72c","head":{"label":"exo-addons:feature/chat-desktop-notifications","ref":"feature/chat-desktop-notifications","sha":"626f2e2fca4e55f4cf3cab09ed1f11c33b77e72c","user":{"login":"exo-addons","id":2581906,"avatar_url":"https://avatars.githubusercontent.com/u/2581906?v=3","gravatar_id":"","url":"https://api.github.com/users/exo-addons","html_url":"https://github.com/exo-addons","followers_url":"https://api.github.com/users/exo-addons/followers","following_url":"https://api.github.com/users/exo-addons/following{/other_user}","gists_url":"https://api.github.com/users/exo-addons/gists{/gist_id}","starred_url":"https://api.github.com/users/exo-addons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exo-addons/subscriptions","organizations_url":"https://api.github.com/users/exo-addons/orgs","repos_url":"https://api.github.com/users/exo-addons/repos","events_url":"https://api.github.com/users/exo-addons/events{/privacy}","received_events_url":"https://api.github.com/users/exo-addons/received_events","type":"Organization","site_admin":false},"repo":{"id":33261222,"name":"chat-application","full_name":"exo-addons/chat-application","owner":{"login":"exo-addons","id":2581906,"avatar_url":"https://avatars.githubusercontent.com/u/2581906?v=3","gravatar_id":"","url":"https://api.github.com/users/exo-addons","html_url":"https://github.com/exo-addons","followers_url":"https://api.github.com/users/exo-addons/followers","following_url":"https://api.github.com/users/exo-addons/following{/other_user}","gists_url":"https://api.github.com/users/exo-addons/gists{/gist_id}","starred_url":"https://api.github.com/users/exo-addons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exo-addons/subscriptions","organizations_url":"https://api.github.com/users/exo-addons/orgs","repos_url":"https://api.github.com/users/exo-addons/repos","events_url":"https://api.github.com/users/exo-addons/events{/privacy}","received_events_url":"https://api.github.com/users/exo-addons/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/exo-addons/chat-application","description":"Chat application","fork":true,"url":"https://api.github.com/repos/exo-addons/chat-application","forks_url":"https://api.github.com/repos/exo-addons/chat-application/forks","keys_url":"https://api.github.com/repos/exo-addons/chat-application/keys{/key_id}","collaborators_url":"https://api.github.com/repos/exo-addons/chat-application/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/exo-addons/chat-application/teams","hooks_url":"https://api.github.com/repos/exo-addons/chat-application/hooks","issue_events_url":"https://api.github.com/repos/exo-addons/chat-application/issues/events{/number}","events_url":"https://api.github.com/repos/exo-addons/chat-application/events","assignees_url":"https://api.github.com/repos/exo-addons/chat-application/assignees{/user}","branches_url":"https://api.github.com/repos/exo-addons/chat-application/branches{/branch}","tags_url":"https://api.github.com/repos/exo-addons/chat-application/tags","blobs_url":"https://api.github.com/repos/exo-addons/chat-application/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/exo-addons/chat-application/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/exo-addons/chat-application/git/refs{/sha}","trees_url":"https://api.github.com/repos/exo-addons/chat-application/git/trees{/sha}","statuses_url":"https://api.github.com/repos/exo-addons/chat-application/statuses/{sha}","languages_url":"https://api.github.com/repos/exo-addons/chat-application/languages","stargazers_url":"https://api.github.com/repos/exo-addons/chat-application/stargazers","contributors_url":"https://api.github.com/repos/exo-addons/chat-application/contributors","subscribers_url":"https://api.github.com/repos/exo-addons/chat-application/subscribers","subscription_url":"https://api.github.com/repos/exo-addons/chat-application/subscription","commits_url":"https://api.github.com/repos/exo-addons/chat-application/commits{/sha}","git_commits_url":"https://api.github.com/repos/exo-addons/chat-application/git/commits{/sha}","comments_url":"https://api.github.com/repos/exo-addons/chat-application/comments{/number}","issue_comment_url":"https://api.github.com/repos/exo-addons/chat-application/issues/comments{/number}","contents_url":"https://api.github.com/repos/exo-addons/chat-application/contents/{+path}","compare_url":"https://api.github.com/repos/exo-addons/chat-application/compare/{base}...{head}","merges_url":"https://api.github.com/repos/exo-addons/chat-application/merges","archive_url":"https://api.github.com/repos/exo-addons/chat-application/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/exo-addons/chat-application/downloads","issues_url":"https://api.github.com/repos/exo-addons/chat-application/issues{/number}","pulls_url":"https://api.github.com/repos/exo-addons/chat-application/pulls{/number}","milestones_url":"https://api.github.com/repos/exo-addons/chat-application/milestones{/number}","notifications_url":"https://api.github.com/repos/exo-addons/chat-application/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/exo-addons/chat-application/labels{/name}","releases_url":"https://api.github.com/repos/exo-addons/chat-application/releases{/id}","deployments_url":"https://api.github.com/repos/exo-addons/chat-application/deployments","created_at":"2015-04-01T17:12:47Z","updated_at":"2016-08-16T11:34:29Z","pushed_at":"2016-08-25T14:43:58Z","git_url":"git://github.com/exo-addons/chat-application.git","ssh_url":"git@github.com:exo-addons/chat-application.git","clone_url":"https://github.com/exo-addons/chat-application.git","svn_url":"https://github.com/exo-addons/chat-application","homepage":null,"size":24438,"stargazers_count":5,"watchers_count":5,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":12,"forks":9,"open_issues":12,"watchers":5,"default_branch":"develop"}},"base":{"label":"exo-addons:develop","ref":"develop","sha":"67267e9802cda91aa475ce7eb685f94d27e1a8e2","user":{"login":"exo-addons","id":2581906,"avatar_url":"https://avatars.githubusercontent.com/u/2581906?v=3","gravatar_id":"","url":"https://api.github.com/users/exo-addons","html_url":"https://github.com/exo-addons","followers_url":"https://api.github.com/users/exo-addons/followers","following_url":"https://api.github.com/users/exo-addons/following{/other_user}","gists_url":"https://api.github.com/users/exo-addons/gists{/gist_id}","starred_url":"https://api.github.com/users/exo-addons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exo-addons/subscriptions","organizations_url":"https://api.github.com/users/exo-addons/orgs","repos_url":"https://api.github.com/users/exo-addons/repos","events_url":"https://api.github.com/users/exo-addons/events{/privacy}","received_events_url":"https://api.github.com/users/exo-addons/received_events","type":"Organization","site_admin":false},"repo":{"id":33261222,"name":"chat-application","full_name":"exo-addons/chat-application","owner":{"login":"exo-addons","id":2581906,"avatar_url":"https://avatars.githubusercontent.com/u/2581906?v=3","gravatar_id":"","url":"https://api.github.com/users/exo-addons","html_url":"https://github.com/exo-addons","followers_url":"https://api.github.com/users/exo-addons/followers","following_url":"https://api.github.com/users/exo-addons/following{/other_user}","gists_url":"https://api.github.com/users/exo-addons/gists{/gist_id}","starred_url":"https://api.github.com/users/exo-addons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exo-addons/subscriptions","organizations_url":"https://api.github.com/users/exo-addons/orgs","repos_url":"https://api.github.com/users/exo-addons/repos","events_url":"https://api.github.com/users/exo-addons/events{/privacy}","received_events_url":"https://api.github.com/users/exo-addons/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/exo-addons/chat-application","description":"Chat application","fork":true,"url":"https://api.github.com/repos/exo-addons/chat-application","forks_url":"https://api.github.com/repos/exo-addons/chat-application/forks","keys_url":"https://api.github.com/repos/exo-addons/chat-application/keys{/key_id}","collaborators_url":"https://api.github.com/repos/exo-addons/chat-application/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/exo-addons/chat-application/teams","hooks_url":"https://api.github.com/repos/exo-addons/chat-application/hooks","issue_events_url":"https://api.github.com/repos/exo-addons/chat-application/issues/events{/number}","events_url":"https://api.github.com/repos/exo-addons/chat-application/events","assignees_url":"https://api.github.com/repos/exo-addons/chat-application/assignees{/user}","branches_url":"https://api.github.com/repos/exo-addons/chat-application/branches{/branch}","tags_url":"https://api.github.com/repos/exo-addons/chat-application/tags","blobs_url":"https://api.github.com/repos/exo-addons/chat-application/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/exo-addons/chat-application/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/exo-addons/chat-application/git/refs{/sha}","trees_url":"https://api.github.com/repos/exo-addons/chat-application/git/trees{/sha}","statuses_url":"https://api.github.com/repos/exo-addons/chat-application/statuses/{sha}","languages_url":"https://api.github.com/repos/exo-addons/chat-application/languages","stargazers_url":"https://api.github.com/repos/exo-addons/chat-application/stargazers","contributors_url":"https://api.github.com/repos/exo-addons/chat-application/contributors","subscribers_url":"https://api.github.com/repos/exo-addons/chat-application/subscribers","subscription_url":"https://api.github.com/repos/exo-addons/chat-application/subscription","commits_url":"https://api.github.com/repos/exo-addons/chat-application/commits{/sha}","git_commits_url":"https://api.github.com/repos/exo-addons/chat-application/git/commits{/sha}","comments_url":"https://api.github.com/repos/exo-addons/chat-application/comments{/number}","issue_comment_url":"https://api.github.com/repos/exo-addons/chat-application/issues/comments{/number}","contents_url":"https://api.github.com/repos/exo-addons/chat-application/contents/{+path}","compare_url":"https://api.github.com/repos/exo-addons/chat-application/compare/{base}...{head}","merges_url":"https://api.github.com/repos/exo-addons/chat-application/merges","archive_url":"https://api.github.com/repos/exo-addons/chat-application/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/exo-addons/chat-application/downloads","issues_url":"https://api.github.com/repos/exo-addons/chat-application/issues{/number}","pulls_url":"https://api.github.com/repos/exo-addons/chat-application/pulls{/number}","milestones_url":"https://api.github.com/repos/exo-addons/chat-application/milestones{/number}","notifications_url":"https://api.github.com/repos/exo-addons/chat-application/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/exo-addons/chat-application/labels{/name}","releases_url":"https://api.github.com/repos/exo-addons/chat-application/releases{/id}","deployments_url":"https://api.github.com/repos/exo-addons/chat-application/deployments","created_at":"2015-04-01T17:12:47Z","updated_at":"2016-08-16T11:34:29Z","pushed_at":"2016-08-25T14:43:58Z","git_url":"git://github.com/exo-addons/chat-application.git","ssh_url":"git@github.com:exo-addons/chat-application.git","clone_url":"https://github.com/exo-addons/chat-application.git","svn_url":"https://github.com/exo-addons/chat-application","homepage":null,"size":24438,"stargazers_count":5,"watchers_count":5,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":12,"forks":9,"open_issues":12,"watchers":5,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/exo-addons/chat-application/pulls/57"},"html":{"href":"https://github.com/exo-addons/chat-application/pull/57"},"issue":{"href":"https://api.github.com/repos/exo-addons/chat-application/issues/57"},"comments":{"href":"https://api.github.com/repos/exo-addons/chat-application/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/exo-addons/chat-application/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/exo-addons/chat-application/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/exo-addons/chat-application/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/exo-addons/chat-application/statuses/626f2e2fca4e55f4cf3cab09ed1f11c33b77e72c"}}}}
{"actor":{"display_login":"mtrabelsi"}}