{"action":"created","comment":{"url":"https://api.github.com/repos/nextcloud/android/pulls/comments/97864106","pull_request_review_id":18487415,"id":97864106,"diff_hunk":"@@ -10,7 +10,7 @@ buildscript {\n         jcenter()\n     }\n     dependencies {\n-        classpath 'com.android.tools.build:gradle:2.2.1'\n+        classpath 'com.android.tools.build:gradle:2.2.3'","path":"build.gradle","position":5,"original_position":5,"commit_id":"5e25dde735702f3935b39051d43daff343d89d0f","original_commit_id":"5e25dde735702f3935b39051d43daff343d89d0f","user":{"login":"tobiasKaminsky","id":5836855,"avatar_url":"https://avatars.githubusercontent.com/u/5836855?v=3","gravatar_id":"","url":"https://api.github.com/users/tobiasKaminsky","html_url":"https://github.com/tobiasKaminsky","followers_url":"https://api.github.com/users/tobiasKaminsky/followers","following_url":"https://api.github.com/users/tobiasKaminsky/following{/other_user}","gists_url":"https://api.github.com/users/tobiasKaminsky/gists{/gist_id}","starred_url":"https://api.github.com/users/tobiasKaminsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobiasKaminsky/subscriptions","organizations_url":"https://api.github.com/users/tobiasKaminsky/orgs","repos_url":"https://api.github.com/users/tobiasKaminsky/repos","events_url":"https://api.github.com/users/tobiasKaminsky/events{/privacy}","received_events_url":"https://api.github.com/users/tobiasKaminsky/received_events","type":"User","site_admin":false},"body":"This should be in a separate PR.","created_at":"2017-01-25T19:51:26Z","updated_at":"2017-01-25T20:01:14Z","html_url":"https://github.com/nextcloud/android/pull/524#discussion_r97864106","pull_request_url":"https://api.github.com/repos/nextcloud/android/pulls/524","_links":{"self":{"href":"https://api.github.com/repos/nextcloud/android/pulls/comments/97864106"},"html":{"href":"https://github.com/nextcloud/android/pull/524#discussion_r97864106"},"pull_request":{"href":"https://api.github.com/repos/nextcloud/android/pulls/524"}}},"pull_request":{"url":"https://api.github.com/repos/nextcloud/android/pulls/524","id":100602004,"html_url":"https://github.com/nextcloud/android/pull/524","diff_url":"https://github.com/nextcloud/android/pull/524.diff","patch_url":"https://github.com/nextcloud/android/pull/524.patch","issue_url":"https://api.github.com/repos/nextcloud/android/issues/524","number":524,"state":"open","locked":false,"title":"Avoid toggling favourite for all selected files","user":{"login":"mario","id":5810,"avatar_url":"https://avatars.githubusercontent.com/u/5810?v=3","gravatar_id":"","url":"https://api.github.com/users/mario","html_url":"https://github.com/mario","followers_url":"https://api.github.com/users/mario/followers","following_url":"https://api.github.com/users/mario/following{/other_user}","gists_url":"https://api.github.com/users/mario/gists{/gist_id}","starred_url":"https://api.github.com/users/mario/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mario/subscriptions","organizations_url":"https://api.github.com/users/mario/orgs","repos_url":"https://api.github.com/users/mario/repos","events_url":"https://api.github.com/users/mario/events{/privacy}","received_events_url":"https://api.github.com/users/mario/received_events","type":"User","site_admin":false},"body":"We don't want to toggle favorite for files we know are already favorited. \r\nThis simple change avoids this for both singular and multiple favorite\r\nchanges.\r\n\r\n(And yes, there's some redundancy because toggleFavorite will do the required\r\ncheck even if called  from toggleFavorites - but at least there are no redundant method\r\ncalls)\r\n\r\nThere are other problems in the way toggling a favorite is presented in the UI, but I'll leave\r\nthat to one of my future PRs.","created_at":"2017-01-08T13:11:30Z","updated_at":"2017-01-25T20:01:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"198d5ee9e26eac1f8133ac83c415605e6a50a888","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/nextcloud/android/milestones/8","html_url":"https://github.com/nextcloud/android/milestone/8","labels_url":"https://api.github.com/repos/nextcloud/android/milestones/8/labels","id":2012363,"number":8,"title":"Nextcloud App 1.5.0","description":"","creator":{"login":"AndyScherzinger","id":1315170,"avatar_url":"https://avatars.githubusercontent.com/u/1315170?v=3","gravatar_id":"","url":"https://api.github.com/users/AndyScherzinger","html_url":"https://github.com/AndyScherzinger","followers_url":"https://api.github.com/users/AndyScherzinger/followers","following_url":"https://api.github.com/users/AndyScherzinger/following{/other_user}","gists_url":"https://api.github.com/users/AndyScherzinger/gists{/gist_id}","starred_url":"https://api.github.com/users/AndyScherzinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndyScherzinger/subscriptions","organizations_url":"https://api.github.com/users/AndyScherzinger/orgs","repos_url":"https://api.github.com/users/AndyScherzinger/repos","events_url":"https://api.github.com/users/AndyScherzinger/events{/privacy}","received_events_url":"https://api.github.com/users/AndyScherzinger/received_events","type":"User","site_admin":false},"open_issues":25,"closed_issues":1,"state":"open","created_at":"2016-09-18T23:39:32Z","updated_at":"2017-01-25T17:11:53Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/nextcloud/android/pulls/524/commits","review_comments_url":"https://api.github.com/repos/nextcloud/android/pulls/524/comments","review_comment_url":"https://api.github.com/repos/nextcloud/android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nextcloud/android/issues/524/comments","statuses_url":"https://api.github.com/repos/nextcloud/android/statuses/5e25dde735702f3935b39051d43daff343d89d0f","head":{"label":"mario:improvement-toggle-favourite-only-relevant-files","ref":"improvement-toggle-favourite-only-relevant-files","sha":"5e25dde735702f3935b39051d43daff343d89d0f","user":{"login":"mario","id":5810,"avatar_url":"https://avatars.githubusercontent.com/u/5810?v=3","gravatar_id":"","url":"https://api.github.com/users/mario","html_url":"https://github.com/mario","followers_url":"https://api.github.com/users/mario/followers","following_url":"https://api.github.com/users/mario/following{/other_user}","gists_url":"https://api.github.com/users/mario/gists{/gist_id}","starred_url":"https://api.github.com/users/mario/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mario/subscriptions","organizations_url":"https://api.github.com/users/mario/orgs","repos_url":"https://api.github.com/users/mario/repos","events_url":"https://api.github.com/users/mario/events{/privacy}","received_events_url":"https://api.github.com/users/mario/received_events","type":"User","site_admin":false},"repo":{"id":78343306,"name":"android","full_name":"mario/android","owner":{"login":"mario","id":5810,"avatar_url":"https://avatars.githubusercontent.com/u/5810?v=3","gravatar_id":"","url":"https://api.github.com/users/mario","html_url":"https://github.com/mario","followers_url":"https://api.github.com/users/mario/followers","following_url":"https://api.github.com/users/mario/following{/other_user}","gists_url":"https://api.github.com/users/mario/gists{/gist_id}","starred_url":"https://api.github.com/users/mario/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mario/subscriptions","organizations_url":"https://api.github.com/users/mario/orgs","repos_url":"https://api.github.com/users/mario/repos","events_url":"https://api.github.com/users/mario/events{/privacy}","received_events_url":"https://api.github.com/users/mario/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mario/android","description":"📱 Nextcloud Android app","fork":true,"url":"https://api.github.com/repos/mario/android","forks_url":"https://api.github.com/repos/mario/android/forks","keys_url":"https://api.github.com/repos/mario/android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mario/android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mario/android/teams","hooks_url":"https://api.github.com/repos/mario/android/hooks","issue_events_url":"https://api.github.com/repos/mario/android/issues/events{/number}","events_url":"https://api.github.com/repos/mario/android/events","assignees_url":"https://api.github.com/repos/mario/android/assignees{/user}","branches_url":"https://api.github.com/repos/mario/android/branches{/branch}","tags_url":"https://api.github.com/repos/mario/android/tags","blobs_url":"https://api.github.com/repos/mario/android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mario/android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mario/android/git/refs{/sha}","trees_url":"https://api.github.com/repos/mario/android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mario/android/statuses/{sha}","languages_url":"https://api.github.com/repos/mario/android/languages","stargazers_url":"https://api.github.com/repos/mario/android/stargazers","contributors_url":"https://api.github.com/repos/mario/android/contributors","subscribers_url":"https://api.github.com/repos/mario/android/subscribers","subscription_url":"https://api.github.com/repos/mario/android/subscription","commits_url":"https://api.github.com/repos/mario/android/commits{/sha}","git_commits_url":"https://api.github.com/repos/mario/android/git/commits{/sha}","comments_url":"https://api.github.com/repos/mario/android/comments{/number}","issue_comment_url":"https://api.github.com/repos/mario/android/issues/comments{/number}","contents_url":"https://api.github.com/repos/mario/android/contents/{+path}","compare_url":"https://api.github.com/repos/mario/android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mario/android/merges","archive_url":"https://api.github.com/repos/mario/android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mario/android/downloads","issues_url":"https://api.github.com/repos/mario/android/issues{/number}","pulls_url":"https://api.github.com/repos/mario/android/pulls{/number}","milestones_url":"https://api.github.com/repos/mario/android/milestones{/number}","notifications_url":"https://api.github.com/repos/mario/android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mario/android/labels{/name}","releases_url":"https://api.github.com/repos/mario/android/releases{/id}","deployments_url":"https://api.github.com/repos/mario/android/deployments","created_at":"2017-01-08T13:07:38Z","updated_at":"2017-01-08T13:07:44Z","pushed_at":"2017-01-20T19:12:49Z","git_url":"git://github.com/mario/android.git","ssh_url":"git@github.com:mario/android.git","clone_url":"https://github.com/mario/android.git","svn_url":"https://github.com/mario/android","homepage":"https://play.google.com/store/apps/details?id=com.nextcloud.client","size":186755,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"nextcloud:master","ref":"master","sha":"28738c46bb7292c0ce7255dcbfe494b0fc8ec6d4","user":{"login":"nextcloud","id":19211038,"avatar_url":"https://avatars.githubusercontent.com/u/19211038?v=3","gravatar_id":"","url":"https://api.github.com/users/nextcloud","html_url":"https://github.com/nextcloud","followers_url":"https://api.github.com/users/nextcloud/followers","following_url":"https://api.github.com/users/nextcloud/following{/other_user}","gists_url":"https://api.github.com/users/nextcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/nextcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nextcloud/subscriptions","organizations_url":"https://api.github.com/users/nextcloud/orgs","repos_url":"https://api.github.com/users/nextcloud/repos","events_url":"https://api.github.com/users/nextcloud/events{/privacy}","received_events_url":"https://api.github.com/users/nextcloud/received_events","type":"Organization","site_admin":false},"repo":{"id":60561834,"name":"android","full_name":"nextcloud/android","owner":{"login":"nextcloud","id":19211038,"avatar_url":"https://avatars.githubusercontent.com/u/19211038?v=3","gravatar_id":"","url":"https://api.github.com/users/nextcloud","html_url":"https://github.com/nextcloud","followers_url":"https://api.github.com/users/nextcloud/followers","following_url":"https://api.github.com/users/nextcloud/following{/other_user}","gists_url":"https://api.github.com/users/nextcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/nextcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nextcloud/subscriptions","organizations_url":"https://api.github.com/users/nextcloud/orgs","repos_url":"https://api.github.com/users/nextcloud/repos","events_url":"https://api.github.com/users/nextcloud/events{/privacy}","received_events_url":"https://api.github.com/users/nextcloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nextcloud/android","description":"📱 Nextcloud Android app","fork":false,"url":"https://api.github.com/repos/nextcloud/android","forks_url":"https://api.github.com/repos/nextcloud/android/forks","keys_url":"https://api.github.com/repos/nextcloud/android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nextcloud/android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nextcloud/android/teams","hooks_url":"https://api.github.com/repos/nextcloud/android/hooks","issue_events_url":"https://api.github.com/repos/nextcloud/android/issues/events{/number}","events_url":"https://api.github.com/repos/nextcloud/android/events","assignees_url":"https://api.github.com/repos/nextcloud/android/assignees{/user}","branches_url":"https://api.github.com/repos/nextcloud/android/branches{/branch}","tags_url":"https://api.github.com/repos/nextcloud/android/tags","blobs_url":"https://api.github.com/repos/nextcloud/android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nextcloud/android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nextcloud/android/git/refs{/sha}","trees_url":"https://api.github.com/repos/nextcloud/android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nextcloud/android/statuses/{sha}","languages_url":"https://api.github.com/repos/nextcloud/android/languages","stargazers_url":"https://api.github.com/repos/nextcloud/android/stargazers","contributors_url":"https://api.github.com/repos/nextcloud/android/contributors","subscribers_url":"https://api.github.com/repos/nextcloud/android/subscribers","subscription_url":"https://api.github.com/repos/nextcloud/android/subscription","commits_url":"https://api.github.com/repos/nextcloud/android/commits{/sha}","git_commits_url":"https://api.github.com/repos/nextcloud/android/git/commits{/sha}","comments_url":"https://api.github.com/repos/nextcloud/android/comments{/number}","issue_comment_url":"https://api.github.com/repos/nextcloud/android/issues/comments{/number}","contents_url":"https://api.github.com/repos/nextcloud/android/contents/{+path}","compare_url":"https://api.github.com/repos/nextcloud/android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nextcloud/android/merges","archive_url":"https://api.github.com/repos/nextcloud/android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nextcloud/android/downloads","issues_url":"https://api.github.com/repos/nextcloud/android/issues{/number}","pulls_url":"https://api.github.com/repos/nextcloud/android/pulls{/number}","milestones_url":"https://api.github.com/repos/nextcloud/android/milestones{/number}","notifications_url":"https://api.github.com/repos/nextcloud/android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nextcloud/android/labels{/name}","releases_url":"https://api.github.com/repos/nextcloud/android/releases{/id}","deployments_url":"https://api.github.com/repos/nextcloud/android/deployments","created_at":"2016-06-06T21:23:36Z","updated_at":"2017-01-24T12:29:03Z","pushed_at":"2017-01-25T17:31:52Z","git_url":"git://github.com/nextcloud/android.git","ssh_url":"git@github.com:nextcloud/android.git","clone_url":"https://github.com/nextcloud/android.git","svn_url":"https://github.com/nextcloud/android","homepage":"https://play.google.com/store/apps/details?id=com.nextcloud.client","size":197495,"stargazers_count":174,"watchers_count":174,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":88,"mirror_url":null,"open_issues_count":268,"forks":88,"open_issues":268,"watchers":174,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nextcloud/android/pulls/524"},"html":{"href":"https://github.com/nextcloud/android/pull/524"},"issue":{"href":"https://api.github.com/repos/nextcloud/android/issues/524"},"comments":{"href":"https://api.github.com/repos/nextcloud/android/issues/524/comments"},"review_comments":{"href":"https://api.github.com/repos/nextcloud/android/pulls/524/comments"},"review_comment":{"href":"https://api.github.com/repos/nextcloud/android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nextcloud/android/pulls/524/commits"},"statuses":{"href":"https://api.github.com/repos/nextcloud/android/statuses/5e25dde735702f3935b39051d43daff343d89d0f"}}}}
{"actor":{"display_login":"tobiasKaminsky"}}