{"action":"created","comment":{"url":"https://api.github.com/repos/veloce/lichobile/pulls/comments/62465593","id":62465593,"diff_hunk":"@@ -63,7 +63,7 @@ export default function(ctrl, onFeatured, onUserTVRedirect) {\n       if (ctrl.data.game.speed === 'correspondence') {\n         removeOfflineGameData(ctrl.data.url.round.substr(1));\n       }\n-      if (!ctrl.data.player.spectator) {\n+      if (ctrl.data.tournament || !ctrl.data.player.spectator) {","path":"project/src/js/ui/round/socketHandler.js","position":5,"original_position":5,"commit_id":"d0652a502378c4b86249942bc653a9abb8c5a8ad","original_commit_id":"d0652a502378c4b86249942bc653a9abb8c5a8ad","user":{"login":"veloce","id":423393,"avatar_url":"https://avatars.githubusercontent.com/u/423393?v=3","gravatar_id":"","url":"https://api.github.com/users/veloce","html_url":"https://github.com/veloce","followers_url":"https://api.github.com/users/veloce/followers","following_url":"https://api.github.com/users/veloce/following{/other_user}","gists_url":"https://api.github.com/users/veloce/gists{/gist_id}","starred_url":"https://api.github.com/users/veloce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veloce/subscriptions","organizations_url":"https://api.github.com/users/veloce/orgs","repos_url":"https://api.github.com/users/veloce/repos","events_url":"https://api.github.com/users/veloce/events{/privacy}","received_events_url":"https://api.github.com/users/veloce/received_events","type":"User","site_admin":false},"body":"I'd remove this. Not useful to show menu if spectator of a tournament.","created_at":"2016-05-09T08:40:26Z","updated_at":"2016-05-09T08:40:26Z","html_url":"https://github.com/veloce/lichobile/pull/327#discussion_r62465593","pull_request_url":"https://api.github.com/repos/veloce/lichobile/pulls/327","_links":{"self":{"href":"https://api.github.com/repos/veloce/lichobile/pulls/comments/62465593"},"html":{"href":"https://github.com/veloce/lichobile/pull/327#discussion_r62465593"},"pull_request":{"href":"https://api.github.com/repos/veloce/lichobile/pulls/327"}}},"pull_request":{"url":"https://api.github.com/repos/veloce/lichobile/pulls/327","id":68520591,"html_url":"https://github.com/veloce/lichobile/pull/327","diff_url":"https://github.com/veloce/lichobile/pull/327.diff","patch_url":"https://github.com/veloce/lichobile/pull/327.patch","issue_url":"https://api.github.com/repos/veloce/lichobile/issues/327","number":327,"state":"open","locked":false,"title":"Playable Tournaments","user":{"login":"freefal","id":954742,"avatar_url":"https://avatars.githubusercontent.com/u/954742?v=3","gravatar_id":"","url":"https://api.github.com/users/freefal","html_url":"https://github.com/freefal","followers_url":"https://api.github.com/users/freefal/followers","following_url":"https://api.github.com/users/freefal/following{/other_user}","gists_url":"https://api.github.com/users/freefal/gists{/gist_id}","starred_url":"https://api.github.com/users/freefal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freefal/subscriptions","organizations_url":"https://api.github.com/users/freefal/orgs","repos_url":"https://api.github.com/users/freefal/repos","events_url":"https://api.github.com/users/freefal/events{/privacy}","received_events_url":"https://api.github.com/users/freefal/received_events","type":"User","site_admin":false},"body":"As I said in the issue discussion (https://github.com/veloce/lichobile/issues/283), tournaments are now playable and I've implemented some of the other enhancements we discussed.\r\n\r\nThere are still plenty of obvious enhancements to make the tournament feature better (and I will work on them over the coming weeks), but I believe it is releasable at this stage.\r\n\r\nPlease take a look and let me know what you think.","created_at":"2016-05-02T04:08:52Z","updated_at":"2016-05-09T08:40:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c995a983b14c695a1e7f305290abf0f02d572344","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/veloce/lichobile/pulls/327/commits","review_comments_url":"https://api.github.com/repos/veloce/lichobile/pulls/327/comments","review_comment_url":"https://api.github.com/repos/veloce/lichobile/pulls/comments{/number}","comments_url":"https://api.github.com/repos/veloce/lichobile/issues/327/comments","statuses_url":"https://api.github.com/repos/veloce/lichobile/statuses/d0652a502378c4b86249942bc653a9abb8c5a8ad","head":{"label":"freefal:master","ref":"master","sha":"d0652a502378c4b86249942bc653a9abb8c5a8ad","user":{"login":"freefal","id":954742,"avatar_url":"https://avatars.githubusercontent.com/u/954742?v=3","gravatar_id":"","url":"https://api.github.com/users/freefal","html_url":"https://github.com/freefal","followers_url":"https://api.github.com/users/freefal/followers","following_url":"https://api.github.com/users/freefal/following{/other_user}","gists_url":"https://api.github.com/users/freefal/gists{/gist_id}","starred_url":"https://api.github.com/users/freefal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freefal/subscriptions","organizations_url":"https://api.github.com/users/freefal/orgs","repos_url":"https://api.github.com/users/freefal/repos","events_url":"https://api.github.com/users/freefal/events{/privacy}","received_events_url":"https://api.github.com/users/freefal/received_events","type":"User","site_admin":false},"repo":{"id":49114947,"name":"lichobile","full_name":"freefal/lichobile","owner":{"login":"freefal","id":954742,"avatar_url":"https://avatars.githubusercontent.com/u/954742?v=3","gravatar_id":"","url":"https://api.github.com/users/freefal","html_url":"https://github.com/freefal","followers_url":"https://api.github.com/users/freefal/followers","following_url":"https://api.github.com/users/freefal/following{/other_user}","gists_url":"https://api.github.com/users/freefal/gists{/gist_id}","starred_url":"https://api.github.com/users/freefal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freefal/subscriptions","organizations_url":"https://api.github.com/users/freefal/orgs","repos_url":"https://api.github.com/users/freefal/repos","events_url":"https://api.github.com/users/freefal/events{/privacy}","received_events_url":"https://api.github.com/users/freefal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/freefal/lichobile","description":"lichess.org mobile application","fork":true,"url":"https://api.github.com/repos/freefal/lichobile","forks_url":"https://api.github.com/repos/freefal/lichobile/forks","keys_url":"https://api.github.com/repos/freefal/lichobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/freefal/lichobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/freefal/lichobile/teams","hooks_url":"https://api.github.com/repos/freefal/lichobile/hooks","issue_events_url":"https://api.github.com/repos/freefal/lichobile/issues/events{/number}","events_url":"https://api.github.com/repos/freefal/lichobile/events","assignees_url":"https://api.github.com/repos/freefal/lichobile/assignees{/user}","branches_url":"https://api.github.com/repos/freefal/lichobile/branches{/branch}","tags_url":"https://api.github.com/repos/freefal/lichobile/tags","blobs_url":"https://api.github.com/repos/freefal/lichobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/freefal/lichobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/freefal/lichobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/freefal/lichobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/freefal/lichobile/statuses/{sha}","languages_url":"https://api.github.com/repos/freefal/lichobile/languages","stargazers_url":"https://api.github.com/repos/freefal/lichobile/stargazers","contributors_url":"https://api.github.com/repos/freefal/lichobile/contributors","subscribers_url":"https://api.github.com/repos/freefal/lichobile/subscribers","subscription_url":"https://api.github.com/repos/freefal/lichobile/subscription","commits_url":"https://api.github.com/repos/freefal/lichobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/freefal/lichobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/freefal/lichobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/freefal/lichobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/freefal/lichobile/contents/{+path}","compare_url":"https://api.github.com/repos/freefal/lichobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/freefal/lichobile/merges","archive_url":"https://api.github.com/repos/freefal/lichobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/freefal/lichobile/downloads","issues_url":"https://api.github.com/repos/freefal/lichobile/issues{/number}","pulls_url":"https://api.github.com/repos/freefal/lichobile/pulls{/number}","milestones_url":"https://api.github.com/repos/freefal/lichobile/milestones{/number}","notifications_url":"https://api.github.com/repos/freefal/lichobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/freefal/lichobile/labels{/name}","releases_url":"https://api.github.com/repos/freefal/lichobile/releases{/id}","deployments_url":"https://api.github.com/repos/freefal/lichobile/deployments","created_at":"2016-01-06T05:35:47Z","updated_at":"2016-01-13T15:12:14Z","pushed_at":"2016-05-09T03:59:51Z","git_url":"git://github.com/freefal/lichobile.git","ssh_url":"git@github.com:freefal/lichobile.git","clone_url":"https://github.com/freefal/lichobile.git","svn_url":"https://github.com/freefal/lichobile","homepage":"http://lichess.org","size":53470,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"veloce:master","ref":"master","sha":"3b987a7a5aa8e304a2c52ce4f929d5deb4b6e7bc","user":{"login":"veloce","id":423393,"avatar_url":"https://avatars.githubusercontent.com/u/423393?v=3","gravatar_id":"","url":"https://api.github.com/users/veloce","html_url":"https://github.com/veloce","followers_url":"https://api.github.com/users/veloce/followers","following_url":"https://api.github.com/users/veloce/following{/other_user}","gists_url":"https://api.github.com/users/veloce/gists{/gist_id}","starred_url":"https://api.github.com/users/veloce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veloce/subscriptions","organizations_url":"https://api.github.com/users/veloce/orgs","repos_url":"https://api.github.com/users/veloce/repos","events_url":"https://api.github.com/users/veloce/events{/privacy}","received_events_url":"https://api.github.com/users/veloce/received_events","type":"User","site_admin":false},"repo":{"id":19611854,"name":"lichobile","full_name":"veloce/lichobile","owner":{"login":"veloce","id":423393,"avatar_url":"https://avatars.githubusercontent.com/u/423393?v=3","gravatar_id":"","url":"https://api.github.com/users/veloce","html_url":"https://github.com/veloce","followers_url":"https://api.github.com/users/veloce/followers","following_url":"https://api.github.com/users/veloce/following{/other_user}","gists_url":"https://api.github.com/users/veloce/gists{/gist_id}","starred_url":"https://api.github.com/users/veloce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veloce/subscriptions","organizations_url":"https://api.github.com/users/veloce/orgs","repos_url":"https://api.github.com/users/veloce/repos","events_url":"https://api.github.com/users/veloce/events{/privacy}","received_events_url":"https://api.github.com/users/veloce/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/veloce/lichobile","description":"lichess.org mobile application","fork":false,"url":"https://api.github.com/repos/veloce/lichobile","forks_url":"https://api.github.com/repos/veloce/lichobile/forks","keys_url":"https://api.github.com/repos/veloce/lichobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/veloce/lichobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/veloce/lichobile/teams","hooks_url":"https://api.github.com/repos/veloce/lichobile/hooks","issue_events_url":"https://api.github.com/repos/veloce/lichobile/issues/events{/number}","events_url":"https://api.github.com/repos/veloce/lichobile/events","assignees_url":"https://api.github.com/repos/veloce/lichobile/assignees{/user}","branches_url":"https://api.github.com/repos/veloce/lichobile/branches{/branch}","tags_url":"https://api.github.com/repos/veloce/lichobile/tags","blobs_url":"https://api.github.com/repos/veloce/lichobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/veloce/lichobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/veloce/lichobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/veloce/lichobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/veloce/lichobile/statuses/{sha}","languages_url":"https://api.github.com/repos/veloce/lichobile/languages","stargazers_url":"https://api.github.com/repos/veloce/lichobile/stargazers","contributors_url":"https://api.github.com/repos/veloce/lichobile/contributors","subscribers_url":"https://api.github.com/repos/veloce/lichobile/subscribers","subscription_url":"https://api.github.com/repos/veloce/lichobile/subscription","commits_url":"https://api.github.com/repos/veloce/lichobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/veloce/lichobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/veloce/lichobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/veloce/lichobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/veloce/lichobile/contents/{+path}","compare_url":"https://api.github.com/repos/veloce/lichobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/veloce/lichobile/merges","archive_url":"https://api.github.com/repos/veloce/lichobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/veloce/lichobile/downloads","issues_url":"https://api.github.com/repos/veloce/lichobile/issues{/number}","pulls_url":"https://api.github.com/repos/veloce/lichobile/pulls{/number}","milestones_url":"https://api.github.com/repos/veloce/lichobile/milestones{/number}","notifications_url":"https://api.github.com/repos/veloce/lichobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/veloce/lichobile/labels{/name}","releases_url":"https://api.github.com/repos/veloce/lichobile/releases{/id}","deployments_url":"https://api.github.com/repos/veloce/lichobile/deployments","created_at":"2014-05-09T13:23:47Z","updated_at":"2016-04-28T07:22:15Z","pushed_at":"2016-05-07T22:03:22Z","git_url":"git://github.com/veloce/lichobile.git","ssh_url":"git@github.com:veloce/lichobile.git","clone_url":"https://github.com/veloce/lichobile.git","svn_url":"https://github.com/veloce/lichobile","homepage":"http://lichess.org","size":69006,"stargazers_count":216,"watchers_count":216,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":38,"mirror_url":null,"open_issues_count":21,"forks":38,"open_issues":21,"watchers":216,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/veloce/lichobile/pulls/327"},"html":{"href":"https://github.com/veloce/lichobile/pull/327"},"issue":{"href":"https://api.github.com/repos/veloce/lichobile/issues/327"},"comments":{"href":"https://api.github.com/repos/veloce/lichobile/issues/327/comments"},"review_comments":{"href":"https://api.github.com/repos/veloce/lichobile/pulls/327/comments"},"review_comment":{"href":"https://api.github.com/repos/veloce/lichobile/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/veloce/lichobile/pulls/327/commits"},"statuses":{"href":"https://api.github.com/repos/veloce/lichobile/statuses/d0652a502378c4b86249942bc653a9abb8c5a8ad"}}}}