{"action":"created","comment":{"url":"https://api.github.com/repos/feross/webtorrent/pulls/comments/91446869","pull_request_review_id":11954424,"id":91446869,"diff_hunk":"@@ -1579,7 +1584,7 @@ Torrent.prototype._checkDone = function () {\n   if (!self.done && done) {\n     self.done = true\n     self._debug('torrent done: ' + self.infoHash)\n-    self.discovery.complete()\n+    cb(null)\n     self.emit('done')\n   }","path":"lib/torrent.js","position":39,"original_position":39,"commit_id":"e1e543b33d232c7a4f935f26da94094aee6c9670","original_commit_id":"e1e543b33d232c7a4f935f26da94094aee6c9670","user":{"login":"feross","id":121766,"avatar_url":"https://avatars.githubusercontent.com/u/121766?v=3","gravatar_id":"","url":"https://api.github.com/users/feross","html_url":"https://github.com/feross","followers_url":"https://api.github.com/users/feross/followers","following_url":"https://api.github.com/users/feross/following{/other_user}","gists_url":"https://api.github.com/users/feross/gists{/gist_id}","starred_url":"https://api.github.com/users/feross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feross/subscriptions","organizations_url":"https://api.github.com/users/feross/orgs","repos_url":"https://api.github.com/users/feross/repos","events_url":"https://api.github.com/users/feross/events{/privacy}","received_events_url":"https://api.github.com/users/feross/received_events","type":"User","site_admin":false},"body":"Otherwise, return `false`.","created_at":"2016-12-08T05:23:23Z","updated_at":"2016-12-08T05:23:57Z","html_url":"https://github.com/feross/webtorrent/pull/991#discussion_r91446869","pull_request_url":"https://api.github.com/repos/feross/webtorrent/pulls/991","_links":{"self":{"href":"https://api.github.com/repos/feross/webtorrent/pulls/comments/91446869"},"html":{"href":"https://github.com/feross/webtorrent/pull/991#discussion_r91446869"},"pull_request":{"href":"https://api.github.com/repos/feross/webtorrent/pulls/991"}}},"pull_request":{"url":"https://api.github.com/repos/feross/webtorrent/pulls/991","id":96667088,"html_url":"https://github.com/feross/webtorrent/pull/991","diff_url":"https://github.com/feross/webtorrent/pull/991.diff","patch_url":"https://github.com/feross/webtorrent/pull/991.patch","issue_url":"https://api.github.com/repos/feross/webtorrent/issues/991","number":991,"state":"open","locked":false,"title":"Don't send 'completed' event to tracker on client.seed","user":{"login":"sidd","id":2949688,"avatar_url":"https://avatars.githubusercontent.com/u/2949688?v=3","gravatar_id":"","url":"https://api.github.com/users/sidd","html_url":"https://github.com/sidd","followers_url":"https://api.github.com/users/sidd/followers","following_url":"https://api.github.com/users/sidd/following{/other_user}","gists_url":"https://api.github.com/users/sidd/gists{/gist_id}","starred_url":"https://api.github.com/users/sidd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sidd/subscriptions","organizations_url":"https://api.github.com/users/sidd/orgs","repos_url":"https://api.github.com/users/sidd/repos","events_url":"https://api.github.com/users/sidd/events{/privacy}","received_events_url":"https://api.github.com/users/sidd/received_events","type":"User","site_admin":false},"body":"Follow-on to [bittorrent-tracker/#185](https://github.com/feross/bittorrent-tracker/pull/185)\r\n\r\nCompleted event now only emits when a previously started torrent download completes","created_at":"2016-12-06T06:15:03Z","updated_at":"2016-12-08T05:23:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"74cc24a70d9ac06a2e654d03a3a749aafde5c83f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/feross/webtorrent/pulls/991/commits","review_comments_url":"https://api.github.com/repos/feross/webtorrent/pulls/991/comments","review_comment_url":"https://api.github.com/repos/feross/webtorrent/pulls/comments{/number}","comments_url":"https://api.github.com/repos/feross/webtorrent/issues/991/comments","statuses_url":"https://api.github.com/repos/feross/webtorrent/statuses/e1e543b33d232c7a4f935f26da94094aee6c9670","head":{"label":"sidd:master","ref":"master","sha":"e1e543b33d232c7a4f935f26da94094aee6c9670","user":{"login":"sidd","id":2949688,"avatar_url":"https://avatars.githubusercontent.com/u/2949688?v=3","gravatar_id":"","url":"https://api.github.com/users/sidd","html_url":"https://github.com/sidd","followers_url":"https://api.github.com/users/sidd/followers","following_url":"https://api.github.com/users/sidd/following{/other_user}","gists_url":"https://api.github.com/users/sidd/gists{/gist_id}","starred_url":"https://api.github.com/users/sidd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sidd/subscriptions","organizations_url":"https://api.github.com/users/sidd/orgs","repos_url":"https://api.github.com/users/sidd/repos","events_url":"https://api.github.com/users/sidd/events{/privacy}","received_events_url":"https://api.github.com/users/sidd/received_events","type":"User","site_admin":false},"repo":{"id":75700289,"name":"webtorrent","full_name":"sidd/webtorrent","owner":{"login":"sidd","id":2949688,"avatar_url":"https://avatars.githubusercontent.com/u/2949688?v=3","gravatar_id":"","url":"https://api.github.com/users/sidd","html_url":"https://github.com/sidd","followers_url":"https://api.github.com/users/sidd/followers","following_url":"https://api.github.com/users/sidd/following{/other_user}","gists_url":"https://api.github.com/users/sidd/gists{/gist_id}","starred_url":"https://api.github.com/users/sidd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sidd/subscriptions","organizations_url":"https://api.github.com/users/sidd/orgs","repos_url":"https://api.github.com/users/sidd/repos","events_url":"https://api.github.com/users/sidd/events{/privacy}","received_events_url":"https://api.github.com/users/sidd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sidd/webtorrent","description":":zap: Streaming torrent client for the web","fork":true,"url":"https://api.github.com/repos/sidd/webtorrent","forks_url":"https://api.github.com/repos/sidd/webtorrent/forks","keys_url":"https://api.github.com/repos/sidd/webtorrent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sidd/webtorrent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sidd/webtorrent/teams","hooks_url":"https://api.github.com/repos/sidd/webtorrent/hooks","issue_events_url":"https://api.github.com/repos/sidd/webtorrent/issues/events{/number}","events_url":"https://api.github.com/repos/sidd/webtorrent/events","assignees_url":"https://api.github.com/repos/sidd/webtorrent/assignees{/user}","branches_url":"https://api.github.com/repos/sidd/webtorrent/branches{/branch}","tags_url":"https://api.github.com/repos/sidd/webtorrent/tags","blobs_url":"https://api.github.com/repos/sidd/webtorrent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sidd/webtorrent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sidd/webtorrent/git/refs{/sha}","trees_url":"https://api.github.com/repos/sidd/webtorrent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sidd/webtorrent/statuses/{sha}","languages_url":"https://api.github.com/repos/sidd/webtorrent/languages","stargazers_url":"https://api.github.com/repos/sidd/webtorrent/stargazers","contributors_url":"https://api.github.com/repos/sidd/webtorrent/contributors","subscribers_url":"https://api.github.com/repos/sidd/webtorrent/subscribers","subscription_url":"https://api.github.com/repos/sidd/webtorrent/subscription","commits_url":"https://api.github.com/repos/sidd/webtorrent/commits{/sha}","git_commits_url":"https://api.github.com/repos/sidd/webtorrent/git/commits{/sha}","comments_url":"https://api.github.com/repos/sidd/webtorrent/comments{/number}","issue_comment_url":"https://api.github.com/repos/sidd/webtorrent/issues/comments{/number}","contents_url":"https://api.github.com/repos/sidd/webtorrent/contents/{+path}","compare_url":"https://api.github.com/repos/sidd/webtorrent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sidd/webtorrent/merges","archive_url":"https://api.github.com/repos/sidd/webtorrent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sidd/webtorrent/downloads","issues_url":"https://api.github.com/repos/sidd/webtorrent/issues{/number}","pulls_url":"https://api.github.com/repos/sidd/webtorrent/pulls{/number}","milestones_url":"https://api.github.com/repos/sidd/webtorrent/milestones{/number}","notifications_url":"https://api.github.com/repos/sidd/webtorrent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sidd/webtorrent/labels{/name}","releases_url":"https://api.github.com/repos/sidd/webtorrent/releases{/id}","deployments_url":"https://api.github.com/repos/sidd/webtorrent/deployments","created_at":"2016-12-06T06:08:57Z","updated_at":"2016-12-06T06:09:00Z","pushed_at":"2016-12-06T06:11:53Z","git_url":"git://github.com/sidd/webtorrent.git","ssh_url":"git@github.com:sidd/webtorrent.git","clone_url":"https://github.com/sidd/webtorrent.git","svn_url":"https://github.com/sidd/webtorrent","homepage":"https://webtorrent.io","size":5643,"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":"feross:master","ref":"master","sha":"8b365441fa47fe1a3622c1053df8def4370d6db5","user":{"login":"feross","id":121766,"avatar_url":"https://avatars.githubusercontent.com/u/121766?v=3","gravatar_id":"","url":"https://api.github.com/users/feross","html_url":"https://github.com/feross","followers_url":"https://api.github.com/users/feross/followers","following_url":"https://api.github.com/users/feross/following{/other_user}","gists_url":"https://api.github.com/users/feross/gists{/gist_id}","starred_url":"https://api.github.com/users/feross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feross/subscriptions","organizations_url":"https://api.github.com/users/feross/orgs","repos_url":"https://api.github.com/users/feross/repos","events_url":"https://api.github.com/users/feross/events{/privacy}","received_events_url":"https://api.github.com/users/feross/received_events","type":"User","site_admin":false},"repo":{"id":13584262,"name":"webtorrent","full_name":"feross/webtorrent","owner":{"login":"feross","id":121766,"avatar_url":"https://avatars.githubusercontent.com/u/121766?v=3","gravatar_id":"","url":"https://api.github.com/users/feross","html_url":"https://github.com/feross","followers_url":"https://api.github.com/users/feross/followers","following_url":"https://api.github.com/users/feross/following{/other_user}","gists_url":"https://api.github.com/users/feross/gists{/gist_id}","starred_url":"https://api.github.com/users/feross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feross/subscriptions","organizations_url":"https://api.github.com/users/feross/orgs","repos_url":"https://api.github.com/users/feross/repos","events_url":"https://api.github.com/users/feross/events{/privacy}","received_events_url":"https://api.github.com/users/feross/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/feross/webtorrent","description":":zap: Streaming torrent client for the web","fork":false,"url":"https://api.github.com/repos/feross/webtorrent","forks_url":"https://api.github.com/repos/feross/webtorrent/forks","keys_url":"https://api.github.com/repos/feross/webtorrent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/feross/webtorrent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/feross/webtorrent/teams","hooks_url":"https://api.github.com/repos/feross/webtorrent/hooks","issue_events_url":"https://api.github.com/repos/feross/webtorrent/issues/events{/number}","events_url":"https://api.github.com/repos/feross/webtorrent/events","assignees_url":"https://api.github.com/repos/feross/webtorrent/assignees{/user}","branches_url":"https://api.github.com/repos/feross/webtorrent/branches{/branch}","tags_url":"https://api.github.com/repos/feross/webtorrent/tags","blobs_url":"https://api.github.com/repos/feross/webtorrent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/feross/webtorrent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/feross/webtorrent/git/refs{/sha}","trees_url":"https://api.github.com/repos/feross/webtorrent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/feross/webtorrent/statuses/{sha}","languages_url":"https://api.github.com/repos/feross/webtorrent/languages","stargazers_url":"https://api.github.com/repos/feross/webtorrent/stargazers","contributors_url":"https://api.github.com/repos/feross/webtorrent/contributors","subscribers_url":"https://api.github.com/repos/feross/webtorrent/subscribers","subscription_url":"https://api.github.com/repos/feross/webtorrent/subscription","commits_url":"https://api.github.com/repos/feross/webtorrent/commits{/sha}","git_commits_url":"https://api.github.com/repos/feross/webtorrent/git/commits{/sha}","comments_url":"https://api.github.com/repos/feross/webtorrent/comments{/number}","issue_comment_url":"https://api.github.com/repos/feross/webtorrent/issues/comments{/number}","contents_url":"https://api.github.com/repos/feross/webtorrent/contents/{+path}","compare_url":"https://api.github.com/repos/feross/webtorrent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/feross/webtorrent/merges","archive_url":"https://api.github.com/repos/feross/webtorrent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/feross/webtorrent/downloads","issues_url":"https://api.github.com/repos/feross/webtorrent/issues{/number}","pulls_url":"https://api.github.com/repos/feross/webtorrent/pulls{/number}","milestones_url":"https://api.github.com/repos/feross/webtorrent/milestones{/number}","notifications_url":"https://api.github.com/repos/feross/webtorrent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/feross/webtorrent/labels{/name}","releases_url":"https://api.github.com/repos/feross/webtorrent/releases{/id}","deployments_url":"https://api.github.com/repos/feross/webtorrent/deployments","created_at":"2013-10-15T08:16:40Z","updated_at":"2016-12-08T04:15:00Z","pushed_at":"2016-12-07T04:31:41Z","git_url":"git://github.com/feross/webtorrent.git","ssh_url":"git@github.com:feross/webtorrent.git","clone_url":"https://github.com/feross/webtorrent.git","svn_url":"https://github.com/feross/webtorrent","homepage":"https://webtorrent.io","size":7886,"stargazers_count":12165,"watchers_count":12165,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":995,"mirror_url":null,"open_issues_count":92,"forks":995,"open_issues":92,"watchers":12165,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/feross/webtorrent/pulls/991"},"html":{"href":"https://github.com/feross/webtorrent/pull/991"},"issue":{"href":"https://api.github.com/repos/feross/webtorrent/issues/991"},"comments":{"href":"https://api.github.com/repos/feross/webtorrent/issues/991/comments"},"review_comments":{"href":"https://api.github.com/repos/feross/webtorrent/pulls/991/comments"},"review_comment":{"href":"https://api.github.com/repos/feross/webtorrent/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/feross/webtorrent/pulls/991/commits"},"statuses":{"href":"https://api.github.com/repos/feross/webtorrent/statuses/e1e543b33d232c7a4f935f26da94094aee6c9670"}}}}
{"actor":{"display_login":"feross"}}