{"action":"created","comment":{"url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/pulls/comments/53366577","id":53366577,"diff_hunk":"@@ -122,13 +123,20 @@ PushNotificationsService.prototype._sendPushNotifications = function(notificatio\n             opts.android = {\n               \"data\": {\n                 \"title\": content.plain.subject,\n-                \"message\": content.plain.body\n+                \"message\": content.plain.body,\n+                \"walletId\": sjcl.hash.sha256.hash(notification.walletId),\n+                \"notId\": Math.floor(Math.random()*500)+1","path":"lib/pushnotificationsservice.js","position":15,"original_position":15,"commit_id":"8d7cec9a8cdbe5a1deb07b4647dbfbaaf6d7859c","original_commit_id":"8d7cec9a8cdbe5a1deb07b4647dbfbaaf6d7859c","user":{"login":"matiu","id":98844,"avatar_url":"https://avatars.githubusercontent.com/u/98844?v=3","gravatar_id":"","url":"https://api.github.com/users/matiu","html_url":"https://github.com/matiu","followers_url":"https://api.github.com/users/matiu/followers","following_url":"https://api.github.com/users/matiu/following{/other_user}","gists_url":"https://api.github.com/users/matiu/gists{/gist_id}","starred_url":"https://api.github.com/users/matiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matiu/subscriptions","organizations_url":"https://api.github.com/users/matiu/orgs","repos_url":"https://api.github.com/users/matiu/repos","events_url":"https://api.github.com/users/matiu/events{/privacy}","received_events_url":"https://api.github.com/users/matiu/received_events","type":"User","site_admin":false},"body":"What is notId?","created_at":"2016-02-18T19:16:06Z","updated_at":"2016-02-18T19:16:06Z","html_url":"https://github.com/bitpay/bitcore-wallet-service/pull/452#discussion_r53366577","pull_request_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/pulls/452","_links":{"self":{"href":"https://api.github.com/repos/bitpay/bitcore-wallet-service/pulls/comments/53366577"},"html":{"href":"https://github.com/bitpay/bitcore-wallet-service/pull/452#discussion_r53366577"},"pull_request":{"href":"https://api.github.com/repos/bitpay/bitcore-wallet-service/pulls/452"}}},"pull_request":{"url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/pulls/452","id":57424292,"html_url":"https://github.com/bitpay/bitcore-wallet-service/pull/452","diff_url":"https://github.com/bitpay/bitcore-wallet-service/pull/452.diff","patch_url":"https://github.com/bitpay/bitcore-wallet-service/pull/452.patch","issue_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/issues/452","number":452,"state":"open","locked":false,"title":"WIP tap on notification","user":{"login":"JDonadio","id":13851807,"avatar_url":"https://avatars.githubusercontent.com/u/13851807?v=3","gravatar_id":"","url":"https://api.github.com/users/JDonadio","html_url":"https://github.com/JDonadio","followers_url":"https://api.github.com/users/JDonadio/followers","following_url":"https://api.github.com/users/JDonadio/following{/other_user}","gists_url":"https://api.github.com/users/JDonadio/gists{/gist_id}","starred_url":"https://api.github.com/users/JDonadio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JDonadio/subscriptions","organizations_url":"https://api.github.com/users/JDonadio/orgs","repos_url":"https://api.github.com/users/JDonadio/repos","events_url":"https://api.github.com/users/JDonadio/events{/privacy}","received_events_url":"https://api.github.com/users/JDonadio/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-27T21:19:10Z","updated_at":"2016-02-18T19:16:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"32725959a1d82ed8cdc0dea030e0921610502917","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/pulls/452/commits","review_comments_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/pulls/452/comments","review_comment_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/issues/452/comments","statuses_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/statuses/8d7cec9a8cdbe5a1deb07b4647dbfbaaf6d7859c","head":{"label":"JDonadio:fix/click-push-notifications","ref":"fix/click-push-notifications","sha":"8d7cec9a8cdbe5a1deb07b4647dbfbaaf6d7859c","user":{"login":"JDonadio","id":13851807,"avatar_url":"https://avatars.githubusercontent.com/u/13851807?v=3","gravatar_id":"","url":"https://api.github.com/users/JDonadio","html_url":"https://github.com/JDonadio","followers_url":"https://api.github.com/users/JDonadio/followers","following_url":"https://api.github.com/users/JDonadio/following{/other_user}","gists_url":"https://api.github.com/users/JDonadio/gists{/gist_id}","starred_url":"https://api.github.com/users/JDonadio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JDonadio/subscriptions","organizations_url":"https://api.github.com/users/JDonadio/orgs","repos_url":"https://api.github.com/users/JDonadio/repos","events_url":"https://api.github.com/users/JDonadio/events{/privacy}","received_events_url":"https://api.github.com/users/JDonadio/received_events","type":"User","site_admin":false},"repo":{"id":47125944,"name":"bitcore-wallet-service","full_name":"JDonadio/bitcore-wallet-service","owner":{"login":"JDonadio","id":13851807,"avatar_url":"https://avatars.githubusercontent.com/u/13851807?v=3","gravatar_id":"","url":"https://api.github.com/users/JDonadio","html_url":"https://github.com/JDonadio","followers_url":"https://api.github.com/users/JDonadio/followers","following_url":"https://api.github.com/users/JDonadio/following{/other_user}","gists_url":"https://api.github.com/users/JDonadio/gists{/gist_id}","starred_url":"https://api.github.com/users/JDonadio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JDonadio/subscriptions","organizations_url":"https://api.github.com/users/JDonadio/orgs","repos_url":"https://api.github.com/users/JDonadio/repos","events_url":"https://api.github.com/users/JDonadio/events{/privacy}","received_events_url":"https://api.github.com/users/JDonadio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JDonadio/bitcore-wallet-service","description":"A multisig, HD wallet service. Used by Copay.","fork":true,"url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service","forks_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/forks","keys_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/teams","hooks_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/hooks","issue_events_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/issues/events{/number}","events_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/events","assignees_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/assignees{/user}","branches_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/branches{/branch}","tags_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/tags","blobs_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/statuses/{sha}","languages_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/languages","stargazers_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/stargazers","contributors_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/contributors","subscribers_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/subscribers","subscription_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/subscription","commits_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/contents/{+path}","compare_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/merges","archive_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/downloads","issues_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/issues{/number}","pulls_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/pulls{/number}","milestones_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/milestones{/number}","notifications_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/labels{/name}","releases_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/releases{/id}","deployments_url":"https://api.github.com/repos/JDonadio/bitcore-wallet-service/deployments","created_at":"2015-11-30T14:58:11Z","updated_at":"2015-11-30T14:58:12Z","pushed_at":"2016-02-09T19:53:07Z","git_url":"git://github.com/JDonadio/bitcore-wallet-service.git","ssh_url":"git@github.com:JDonadio/bitcore-wallet-service.git","clone_url":"https://github.com/JDonadio/bitcore-wallet-service.git","svn_url":"https://github.com/JDonadio/bitcore-wallet-service","homepage":"https://copay.io/","size":1788,"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":"bitpay:master","ref":"master","sha":"f7afe89c4f6e538c3a18ce46e6916b061ca20423","user":{"login":"bitpay","id":2554930,"avatar_url":"https://avatars.githubusercontent.com/u/2554930?v=3","gravatar_id":"","url":"https://api.github.com/users/bitpay","html_url":"https://github.com/bitpay","followers_url":"https://api.github.com/users/bitpay/followers","following_url":"https://api.github.com/users/bitpay/following{/other_user}","gists_url":"https://api.github.com/users/bitpay/gists{/gist_id}","starred_url":"https://api.github.com/users/bitpay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitpay/subscriptions","organizations_url":"https://api.github.com/users/bitpay/orgs","repos_url":"https://api.github.com/users/bitpay/repos","events_url":"https://api.github.com/users/bitpay/events{/privacy}","received_events_url":"https://api.github.com/users/bitpay/received_events","type":"Organization","site_admin":false},"repo":{"id":30662924,"name":"bitcore-wallet-service","full_name":"bitpay/bitcore-wallet-service","owner":{"login":"bitpay","id":2554930,"avatar_url":"https://avatars.githubusercontent.com/u/2554930?v=3","gravatar_id":"","url":"https://api.github.com/users/bitpay","html_url":"https://github.com/bitpay","followers_url":"https://api.github.com/users/bitpay/followers","following_url":"https://api.github.com/users/bitpay/following{/other_user}","gists_url":"https://api.github.com/users/bitpay/gists{/gist_id}","starred_url":"https://api.github.com/users/bitpay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitpay/subscriptions","organizations_url":"https://api.github.com/users/bitpay/orgs","repos_url":"https://api.github.com/users/bitpay/repos","events_url":"https://api.github.com/users/bitpay/events{/privacy}","received_events_url":"https://api.github.com/users/bitpay/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bitpay/bitcore-wallet-service","description":"A multisig, HD wallet service. Used by Copay.","fork":false,"url":"https://api.github.com/repos/bitpay/bitcore-wallet-service","forks_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/forks","keys_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/teams","hooks_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/hooks","issue_events_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/issues/events{/number}","events_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/events","assignees_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/assignees{/user}","branches_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/branches{/branch}","tags_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/tags","blobs_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/statuses/{sha}","languages_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/languages","stargazers_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/stargazers","contributors_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/contributors","subscribers_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/subscribers","subscription_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/subscription","commits_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/contents/{+path}","compare_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/merges","archive_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/downloads","issues_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/issues{/number}","pulls_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/pulls{/number}","milestones_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/milestones{/number}","notifications_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/labels{/name}","releases_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/releases{/id}","deployments_url":"https://api.github.com/repos/bitpay/bitcore-wallet-service/deployments","created_at":"2015-02-11T18:33:39Z","updated_at":"2016-02-16T07:20:01Z","pushed_at":"2016-02-18T19:14:57Z","git_url":"git://github.com/bitpay/bitcore-wallet-service.git","ssh_url":"git@github.com:bitpay/bitcore-wallet-service.git","clone_url":"https://github.com/bitpay/bitcore-wallet-service.git","svn_url":"https://github.com/bitpay/bitcore-wallet-service","homepage":"https://copay.io/","size":2418,"stargazers_count":92,"watchers_count":92,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":77,"mirror_url":null,"open_issues_count":42,"forks":77,"open_issues":42,"watchers":92,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bitpay/bitcore-wallet-service/pulls/452"},"html":{"href":"https://github.com/bitpay/bitcore-wallet-service/pull/452"},"issue":{"href":"https://api.github.com/repos/bitpay/bitcore-wallet-service/issues/452"},"comments":{"href":"https://api.github.com/repos/bitpay/bitcore-wallet-service/issues/452/comments"},"review_comments":{"href":"https://api.github.com/repos/bitpay/bitcore-wallet-service/pulls/452/comments"},"review_comment":{"href":"https://api.github.com/repos/bitpay/bitcore-wallet-service/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bitpay/bitcore-wallet-service/pulls/452/commits"},"statuses":{"href":"https://api.github.com/repos/bitpay/bitcore-wallet-service/statuses/8d7cec9a8cdbe5a1deb07b4647dbfbaaf6d7859c"}}}}