{"action":"opened","number":82,"pull_request":{"url":"https://api.github.com/repos/sindresorhus/caprine/pulls/82","id":67637790,"html_url":"https://github.com/sindresorhus/caprine/pull/82","diff_url":"https://github.com/sindresorhus/caprine/pull/82.diff","patch_url":"https://github.com/sindresorhus/caprine/pull/82.patch","issue_url":"https://api.github.com/repos/sindresorhus/caprine/issues/82","number":82,"state":"open","locked":false,"title":"Set unread badge for tray","user":{"login":"phamdaniel","id":3745612,"avatar_url":"https://avatars.githubusercontent.com/u/3745612?v=3","gravatar_id":"","url":"https://api.github.com/users/phamdaniel","html_url":"https://github.com/phamdaniel","followers_url":"https://api.github.com/users/phamdaniel/followers","following_url":"https://api.github.com/users/phamdaniel/following{/other_user}","gists_url":"https://api.github.com/users/phamdaniel/gists{/gist_id}","starred_url":"https://api.github.com/users/phamdaniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phamdaniel/subscriptions","organizations_url":"https://api.github.com/users/phamdaniel/orgs","repos_url":"https://api.github.com/users/phamdaniel/repos","events_url":"https://api.github.com/users/phamdaniel/events{/privacy}","received_events_url":"https://api.github.com/users/phamdaniel/received_events","type":"User","site_admin":false},"body":"Fixes #75 \r\n\r\nThis has the same behaviour as the badge on OS X\r\n\r\nHow it looks on Windows:\r\n![tray-image](https://cloud.githubusercontent.com/assets/3745612/14767934/b0333338-0a00-11e6-876c-2a1071cc2de8.png)\r\n\r\nI don't have Linux, so that remains untested.","created_at":"2016-04-24T13:46:49Z","updated_at":"2016-04-24T13:46:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sindresorhus/caprine/pulls/82/commits","review_comments_url":"https://api.github.com/repos/sindresorhus/caprine/pulls/82/comments","review_comment_url":"https://api.github.com/repos/sindresorhus/caprine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sindresorhus/caprine/issues/82/comments","statuses_url":"https://api.github.com/repos/sindresorhus/caprine/statuses/c323cc7da4647db4adba2f33df7a73c9351c0a59","head":{"label":"phamdaniel:tray","ref":"tray","sha":"c323cc7da4647db4adba2f33df7a73c9351c0a59","user":{"login":"phamdaniel","id":3745612,"avatar_url":"https://avatars.githubusercontent.com/u/3745612?v=3","gravatar_id":"","url":"https://api.github.com/users/phamdaniel","html_url":"https://github.com/phamdaniel","followers_url":"https://api.github.com/users/phamdaniel/followers","following_url":"https://api.github.com/users/phamdaniel/following{/other_user}","gists_url":"https://api.github.com/users/phamdaniel/gists{/gist_id}","starred_url":"https://api.github.com/users/phamdaniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phamdaniel/subscriptions","organizations_url":"https://api.github.com/users/phamdaniel/orgs","repos_url":"https://api.github.com/users/phamdaniel/repos","events_url":"https://api.github.com/users/phamdaniel/events{/privacy}","received_events_url":"https://api.github.com/users/phamdaniel/received_events","type":"User","site_admin":false},"repo":{"id":46496434,"name":"caprine","full_name":"phamdaniel/caprine","owner":{"login":"phamdaniel","id":3745612,"avatar_url":"https://avatars.githubusercontent.com/u/3745612?v=3","gravatar_id":"","url":"https://api.github.com/users/phamdaniel","html_url":"https://github.com/phamdaniel","followers_url":"https://api.github.com/users/phamdaniel/followers","following_url":"https://api.github.com/users/phamdaniel/following{/other_user}","gists_url":"https://api.github.com/users/phamdaniel/gists{/gist_id}","starred_url":"https://api.github.com/users/phamdaniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phamdaniel/subscriptions","organizations_url":"https://api.github.com/users/phamdaniel/orgs","repos_url":"https://api.github.com/users/phamdaniel/repos","events_url":"https://api.github.com/users/phamdaniel/events{/privacy}","received_events_url":"https://api.github.com/users/phamdaniel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/phamdaniel/caprine","description":"Unofficial Facebook Messenger app","fork":true,"url":"https://api.github.com/repos/phamdaniel/caprine","forks_url":"https://api.github.com/repos/phamdaniel/caprine/forks","keys_url":"https://api.github.com/repos/phamdaniel/caprine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phamdaniel/caprine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phamdaniel/caprine/teams","hooks_url":"https://api.github.com/repos/phamdaniel/caprine/hooks","issue_events_url":"https://api.github.com/repos/phamdaniel/caprine/issues/events{/number}","events_url":"https://api.github.com/repos/phamdaniel/caprine/events","assignees_url":"https://api.github.com/repos/phamdaniel/caprine/assignees{/user}","branches_url":"https://api.github.com/repos/phamdaniel/caprine/branches{/branch}","tags_url":"https://api.github.com/repos/phamdaniel/caprine/tags","blobs_url":"https://api.github.com/repos/phamdaniel/caprine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phamdaniel/caprine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phamdaniel/caprine/git/refs{/sha}","trees_url":"https://api.github.com/repos/phamdaniel/caprine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phamdaniel/caprine/statuses/{sha}","languages_url":"https://api.github.com/repos/phamdaniel/caprine/languages","stargazers_url":"https://api.github.com/repos/phamdaniel/caprine/stargazers","contributors_url":"https://api.github.com/repos/phamdaniel/caprine/contributors","subscribers_url":"https://api.github.com/repos/phamdaniel/caprine/subscribers","subscription_url":"https://api.github.com/repos/phamdaniel/caprine/subscription","commits_url":"https://api.github.com/repos/phamdaniel/caprine/commits{/sha}","git_commits_url":"https://api.github.com/repos/phamdaniel/caprine/git/commits{/sha}","comments_url":"https://api.github.com/repos/phamdaniel/caprine/comments{/number}","issue_comment_url":"https://api.github.com/repos/phamdaniel/caprine/issues/comments{/number}","contents_url":"https://api.github.com/repos/phamdaniel/caprine/contents/{+path}","compare_url":"https://api.github.com/repos/phamdaniel/caprine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phamdaniel/caprine/merges","archive_url":"https://api.github.com/repos/phamdaniel/caprine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phamdaniel/caprine/downloads","issues_url":"https://api.github.com/repos/phamdaniel/caprine/issues{/number}","pulls_url":"https://api.github.com/repos/phamdaniel/caprine/pulls{/number}","milestones_url":"https://api.github.com/repos/phamdaniel/caprine/milestones{/number}","notifications_url":"https://api.github.com/repos/phamdaniel/caprine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phamdaniel/caprine/labels{/name}","releases_url":"https://api.github.com/repos/phamdaniel/caprine/releases{/id}","deployments_url":"https://api.github.com/repos/phamdaniel/caprine/deployments","created_at":"2015-11-19T14:12:07Z","updated_at":"2016-01-30T03:30:41Z","pushed_at":"2016-04-24T13:38:04Z","git_url":"git://github.com/phamdaniel/caprine.git","ssh_url":"git@github.com:phamdaniel/caprine.git","clone_url":"https://github.com/phamdaniel/caprine.git","svn_url":"https://github.com/phamdaniel/caprine","homepage":null,"size":2432,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sindresorhus:master","ref":"master","sha":"ac4878ad3c7acfe8d68e467d7dceee5af51b6ff6","user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"repo":{"id":42574339,"name":"caprine","full_name":"sindresorhus/caprine","owner":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sindresorhus/caprine","description":"Unofficial Facebook Messenger app","fork":false,"url":"https://api.github.com/repos/sindresorhus/caprine","forks_url":"https://api.github.com/repos/sindresorhus/caprine/forks","keys_url":"https://api.github.com/repos/sindresorhus/caprine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sindresorhus/caprine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sindresorhus/caprine/teams","hooks_url":"https://api.github.com/repos/sindresorhus/caprine/hooks","issue_events_url":"https://api.github.com/repos/sindresorhus/caprine/issues/events{/number}","events_url":"https://api.github.com/repos/sindresorhus/caprine/events","assignees_url":"https://api.github.com/repos/sindresorhus/caprine/assignees{/user}","branches_url":"https://api.github.com/repos/sindresorhus/caprine/branches{/branch}","tags_url":"https://api.github.com/repos/sindresorhus/caprine/tags","blobs_url":"https://api.github.com/repos/sindresorhus/caprine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sindresorhus/caprine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sindresorhus/caprine/git/refs{/sha}","trees_url":"https://api.github.com/repos/sindresorhus/caprine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sindresorhus/caprine/statuses/{sha}","languages_url":"https://api.github.com/repos/sindresorhus/caprine/languages","stargazers_url":"https://api.github.com/repos/sindresorhus/caprine/stargazers","contributors_url":"https://api.github.com/repos/sindresorhus/caprine/contributors","subscribers_url":"https://api.github.com/repos/sindresorhus/caprine/subscribers","subscription_url":"https://api.github.com/repos/sindresorhus/caprine/subscription","commits_url":"https://api.github.com/repos/sindresorhus/caprine/commits{/sha}","git_commits_url":"https://api.github.com/repos/sindresorhus/caprine/git/commits{/sha}","comments_url":"https://api.github.com/repos/sindresorhus/caprine/comments{/number}","issue_comment_url":"https://api.github.com/repos/sindresorhus/caprine/issues/comments{/number}","contents_url":"https://api.github.com/repos/sindresorhus/caprine/contents/{+path}","compare_url":"https://api.github.com/repos/sindresorhus/caprine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sindresorhus/caprine/merges","archive_url":"https://api.github.com/repos/sindresorhus/caprine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sindresorhus/caprine/downloads","issues_url":"https://api.github.com/repos/sindresorhus/caprine/issues{/number}","pulls_url":"https://api.github.com/repos/sindresorhus/caprine/pulls{/number}","milestones_url":"https://api.github.com/repos/sindresorhus/caprine/milestones{/number}","notifications_url":"https://api.github.com/repos/sindresorhus/caprine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sindresorhus/caprine/labels{/name}","releases_url":"https://api.github.com/repos/sindresorhus/caprine/releases{/id}","deployments_url":"https://api.github.com/repos/sindresorhus/caprine/deployments","created_at":"2015-09-16T08:20:12Z","updated_at":"2016-04-23T06:30:56Z","pushed_at":"2016-04-23T14:36:50Z","git_url":"git://github.com/sindresorhus/caprine.git","ssh_url":"git@github.com:sindresorhus/caprine.git","clone_url":"https://github.com/sindresorhus/caprine.git","svn_url":"https://github.com/sindresorhus/caprine","homepage":null,"size":2408,"stargazers_count":883,"watchers_count":883,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":57,"mirror_url":null,"open_issues_count":15,"forks":57,"open_issues":15,"watchers":883,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sindresorhus/caprine/pulls/82"},"html":{"href":"https://github.com/sindresorhus/caprine/pull/82"},"issue":{"href":"https://api.github.com/repos/sindresorhus/caprine/issues/82"},"comments":{"href":"https://api.github.com/repos/sindresorhus/caprine/issues/82/comments"},"review_comments":{"href":"https://api.github.com/repos/sindresorhus/caprine/pulls/82/comments"},"review_comment":{"href":"https://api.github.com/repos/sindresorhus/caprine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sindresorhus/caprine/pulls/82/commits"},"statuses":{"href":"https://api.github.com/repos/sindresorhus/caprine/statuses/c323cc7da4647db4adba2f33df7a73c9351c0a59"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":31,"deletions":15,"changed_files":6}}