{"action":"closed","number":102,"pull_request":{"url":"https://api.github.com/repos/rs/pushd/pulls/102","id":29688732,"html_url":"https://github.com/rs/pushd/pull/102","diff_url":"https://github.com/rs/pushd/pull/102.diff","patch_url":"https://github.com/rs/pushd/pull/102.patch","issue_url":"https://api.github.com/repos/rs/pushd/issues/102","number":102,"state":"closed","locked":false,"title":"Automatically delete duplicate subscriptions","user":{"login":"ojarva","id":1177797,"avatar_url":"https://avatars.githubusercontent.com/u/1177797?v=3","gravatar_id":"","url":"https://api.github.com/users/ojarva","html_url":"https://github.com/ojarva","followers_url":"https://api.github.com/users/ojarva/followers","following_url":"https://api.github.com/users/ojarva/following{/other_user}","gists_url":"https://api.github.com/users/ojarva/gists{/gist_id}","starred_url":"https://api.github.com/users/ojarva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojarva/subscriptions","organizations_url":"https://api.github.com/users/ojarva/orgs","repos_url":"https://api.github.com/users/ojarva/repos","events_url":"https://api.github.com/users/ojarva/events{/privacy}","received_events_url":"https://api.github.com/users/ojarva/received_events","type":"User","site_admin":false},"body":"GCM automatically detects duplicate subscriptions and sends registration ID for latest subscription. There is no need to update subscriber token, as there should be another subscription already. \r\n\r\nThis functionality can be controlled with deleteDuplicatesAutomatically option (defaults to false to keep old functionality, sample setting is true, as it's usually sensible).\r\n\r\nThere might be reason not to automatically delete duplicates when running multiple different push servers for the same app. This is documented in settings-sample.coffee\r\n\r\nAlso, random error logging improvement.","created_at":"2015-02-20T11:24:20Z","updated_at":"2015-02-20T11:53:31Z","closed_at":"2015-02-20T11:53:31Z","merged_at":null,"merge_commit_sha":"e96df2cce4fed0a971eb7bd9f8a188aa5786a2e8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rs/pushd/pulls/102/commits","review_comments_url":"https://api.github.com/repos/rs/pushd/pulls/102/comments","review_comment_url":"https://api.github.com/repos/rs/pushd/pulls/comments/{number}","comments_url":"https://api.github.com/repos/rs/pushd/issues/102/comments","statuses_url":"https://api.github.com/repos/rs/pushd/statuses/08653808c1b3d739352c184b89e357b1e85a434e","head":{"label":"futurice:gcm-updates","ref":"gcm-updates","sha":"08653808c1b3d739352c184b89e357b1e85a434e","user":{"login":"futurice","id":852157,"avatar_url":"https://avatars.githubusercontent.com/u/852157?v=3","gravatar_id":"","url":"https://api.github.com/users/futurice","html_url":"https://github.com/futurice","followers_url":"https://api.github.com/users/futurice/followers","following_url":"https://api.github.com/users/futurice/following{/other_user}","gists_url":"https://api.github.com/users/futurice/gists{/gist_id}","starred_url":"https://api.github.com/users/futurice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/futurice/subscriptions","organizations_url":"https://api.github.com/users/futurice/orgs","repos_url":"https://api.github.com/users/futurice/repos","events_url":"https://api.github.com/users/futurice/events{/privacy}","received_events_url":"https://api.github.com/users/futurice/received_events","type":"Organization","site_admin":false},"repo":{"id":8932283,"name":"pushd","full_name":"futurice/pushd","owner":{"login":"futurice","id":852157,"avatar_url":"https://avatars.githubusercontent.com/u/852157?v=3","gravatar_id":"","url":"https://api.github.com/users/futurice","html_url":"https://github.com/futurice","followers_url":"https://api.github.com/users/futurice/followers","following_url":"https://api.github.com/users/futurice/following{/other_user}","gists_url":"https://api.github.com/users/futurice/gists{/gist_id}","starred_url":"https://api.github.com/users/futurice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/futurice/subscriptions","organizations_url":"https://api.github.com/users/futurice/orgs","repos_url":"https://api.github.com/users/futurice/repos","events_url":"https://api.github.com/users/futurice/events{/privacy}","received_events_url":"https://api.github.com/users/futurice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/futurice/pushd","description":"Blazing fast multi-protocol mobile and web push notification service","fork":true,"url":"https://api.github.com/repos/futurice/pushd","forks_url":"https://api.github.com/repos/futurice/pushd/forks","keys_url":"https://api.github.com/repos/futurice/pushd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/futurice/pushd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/futurice/pushd/teams","hooks_url":"https://api.github.com/repos/futurice/pushd/hooks","issue_events_url":"https://api.github.com/repos/futurice/pushd/issues/events{/number}","events_url":"https://api.github.com/repos/futurice/pushd/events","assignees_url":"https://api.github.com/repos/futurice/pushd/assignees{/user}","branches_url":"https://api.github.com/repos/futurice/pushd/branches{/branch}","tags_url":"https://api.github.com/repos/futurice/pushd/tags","blobs_url":"https://api.github.com/repos/futurice/pushd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/futurice/pushd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/futurice/pushd/git/refs{/sha}","trees_url":"https://api.github.com/repos/futurice/pushd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/futurice/pushd/statuses/{sha}","languages_url":"https://api.github.com/repos/futurice/pushd/languages","stargazers_url":"https://api.github.com/repos/futurice/pushd/stargazers","contributors_url":"https://api.github.com/repos/futurice/pushd/contributors","subscribers_url":"https://api.github.com/repos/futurice/pushd/subscribers","subscription_url":"https://api.github.com/repos/futurice/pushd/subscription","commits_url":"https://api.github.com/repos/futurice/pushd/commits{/sha}","git_commits_url":"https://api.github.com/repos/futurice/pushd/git/commits{/sha}","comments_url":"https://api.github.com/repos/futurice/pushd/comments{/number}","issue_comment_url":"https://api.github.com/repos/futurice/pushd/issues/comments/{number}","contents_url":"https://api.github.com/repos/futurice/pushd/contents/{+path}","compare_url":"https://api.github.com/repos/futurice/pushd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/futurice/pushd/merges","archive_url":"https://api.github.com/repos/futurice/pushd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/futurice/pushd/downloads","issues_url":"https://api.github.com/repos/futurice/pushd/issues{/number}","pulls_url":"https://api.github.com/repos/futurice/pushd/pulls{/number}","milestones_url":"https://api.github.com/repos/futurice/pushd/milestones{/number}","notifications_url":"https://api.github.com/repos/futurice/pushd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/futurice/pushd/labels{/name}","releases_url":"https://api.github.com/repos/futurice/pushd/releases{/id}","created_at":"2013-03-21T15:46:48Z","updated_at":"2015-02-08T10:47:27Z","pushed_at":"2015-02-20T11:21:31Z","git_url":"git://github.com/futurice/pushd.git","ssh_url":"git@github.com:futurice/pushd.git","clone_url":"https://github.com/futurice/pushd.git","svn_url":"https://github.com/futurice/pushd","homepage":"","size":946,"stargazers_count":1,"watchers_count":1,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":0,"forks":4,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"rs:master","ref":"master","sha":"bee7dca5697124093679eaba44c6d3f00bb9b3de","user":{"login":"rs","id":68232,"avatar_url":"https://avatars.githubusercontent.com/u/68232?v=3","gravatar_id":"","url":"https://api.github.com/users/rs","html_url":"https://github.com/rs","followers_url":"https://api.github.com/users/rs/followers","following_url":"https://api.github.com/users/rs/following{/other_user}","gists_url":"https://api.github.com/users/rs/gists{/gist_id}","starred_url":"https://api.github.com/users/rs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rs/subscriptions","organizations_url":"https://api.github.com/users/rs/orgs","repos_url":"https://api.github.com/users/rs/repos","events_url":"https://api.github.com/users/rs/events{/privacy}","received_events_url":"https://api.github.com/users/rs/received_events","type":"User","site_admin":false},"repo":{"id":3855454,"name":"pushd","full_name":"rs/pushd","owner":{"login":"rs","id":68232,"avatar_url":"https://avatars.githubusercontent.com/u/68232?v=3","gravatar_id":"","url":"https://api.github.com/users/rs","html_url":"https://github.com/rs","followers_url":"https://api.github.com/users/rs/followers","following_url":"https://api.github.com/users/rs/following{/other_user}","gists_url":"https://api.github.com/users/rs/gists{/gist_id}","starred_url":"https://api.github.com/users/rs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rs/subscriptions","organizations_url":"https://api.github.com/users/rs/orgs","repos_url":"https://api.github.com/users/rs/repos","events_url":"https://api.github.com/users/rs/events{/privacy}","received_events_url":"https://api.github.com/users/rs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rs/pushd","description":"Blazing fast multi-protocol mobile and web push notification service","fork":false,"url":"https://api.github.com/repos/rs/pushd","forks_url":"https://api.github.com/repos/rs/pushd/forks","keys_url":"https://api.github.com/repos/rs/pushd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rs/pushd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rs/pushd/teams","hooks_url":"https://api.github.com/repos/rs/pushd/hooks","issue_events_url":"https://api.github.com/repos/rs/pushd/issues/events{/number}","events_url":"https://api.github.com/repos/rs/pushd/events","assignees_url":"https://api.github.com/repos/rs/pushd/assignees{/user}","branches_url":"https://api.github.com/repos/rs/pushd/branches{/branch}","tags_url":"https://api.github.com/repos/rs/pushd/tags","blobs_url":"https://api.github.com/repos/rs/pushd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rs/pushd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rs/pushd/git/refs{/sha}","trees_url":"https://api.github.com/repos/rs/pushd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rs/pushd/statuses/{sha}","languages_url":"https://api.github.com/repos/rs/pushd/languages","stargazers_url":"https://api.github.com/repos/rs/pushd/stargazers","contributors_url":"https://api.github.com/repos/rs/pushd/contributors","subscribers_url":"https://api.github.com/repos/rs/pushd/subscribers","subscription_url":"https://api.github.com/repos/rs/pushd/subscription","commits_url":"https://api.github.com/repos/rs/pushd/commits{/sha}","git_commits_url":"https://api.github.com/repos/rs/pushd/git/commits{/sha}","comments_url":"https://api.github.com/repos/rs/pushd/comments{/number}","issue_comment_url":"https://api.github.com/repos/rs/pushd/issues/comments/{number}","contents_url":"https://api.github.com/repos/rs/pushd/contents/{+path}","compare_url":"https://api.github.com/repos/rs/pushd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rs/pushd/merges","archive_url":"https://api.github.com/repos/rs/pushd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rs/pushd/downloads","issues_url":"https://api.github.com/repos/rs/pushd/issues{/number}","pulls_url":"https://api.github.com/repos/rs/pushd/pulls{/number}","milestones_url":"https://api.github.com/repos/rs/pushd/milestones{/number}","notifications_url":"https://api.github.com/repos/rs/pushd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rs/pushd/labels{/name}","releases_url":"https://api.github.com/repos/rs/pushd/releases{/id}","created_at":"2012-03-28T13:50:04Z","updated_at":"2015-02-20T11:04:57Z","pushed_at":"2015-02-20T11:04:57Z","git_url":"git://github.com/rs/pushd.git","ssh_url":"git@github.com:rs/pushd.git","clone_url":"https://github.com/rs/pushd.git","svn_url":"https://github.com/rs/pushd","homepage":"","size":1261,"stargazers_count":568,"watchers_count":568,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":113,"mirror_url":null,"open_issues_count":40,"forks":113,"open_issues":40,"watchers":568,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rs/pushd/pulls/102"},"html":{"href":"https://github.com/rs/pushd/pull/102"},"issue":{"href":"https://api.github.com/repos/rs/pushd/issues/102"},"comments":{"href":"https://api.github.com/repos/rs/pushd/issues/102/comments"},"review_comments":{"href":"https://api.github.com/repos/rs/pushd/pulls/102/comments"},"review_comment":{"href":"https://api.github.com/repos/rs/pushd/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/rs/pushd/pulls/102/commits"},"statuses":{"href":"https://api.github.com/repos/rs/pushd/statuses/08653808c1b3d739352c184b89e357b1e85a434e"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":3,"additions":13,"deletions":4,"changed_files":2}}