{"action":"opened","number":1096,"pull_request":{"url":"https://api.github.com/repos/siacs/Conversations/pulls/1096","id":32416234,"html_url":"https://github.com/siacs/Conversations/pull/1096","diff_url":"https://github.com/siacs/Conversations/pull/1096.diff","patch_url":"https://github.com/siacs/Conversations/pull/1096.patch","issue_url":"https://api.github.com/repos/siacs/Conversations/issues/1096","number":1096,"state":"open","locked":false,"title":"Add toggle account-state switch","user":{"login":"BrianBlade","id":7414587,"avatar_url":"https://avatars.githubusercontent.com/u/7414587?v=3","gravatar_id":"","url":"https://api.github.com/users/BrianBlade","html_url":"https://github.com/BrianBlade","followers_url":"https://api.github.com/users/BrianBlade/followers","following_url":"https://api.github.com/users/BrianBlade/following{/other_user}","gists_url":"https://api.github.com/users/BrianBlade/gists{/gist_id}","starred_url":"https://api.github.com/users/BrianBlade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrianBlade/subscriptions","organizations_url":"https://api.github.com/users/BrianBlade/orgs","repos_url":"https://api.github.com/users/BrianBlade/repos","events_url":"https://api.github.com/users/BrianBlade/events{/privacy}","received_events_url":"https://api.github.com/users/BrianBlade/received_events","type":"User","site_admin":false},"body":"While I like the context-menu approach in general it can be somewhat tedious to enable/disable multiple but not all accounts. The added switch allows to toggle an account state from the ManageAccountActivity directly.","created_at":"2015-04-01T12:59:30Z","updated_at":"2015-04-01T12:59:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/siacs/Conversations/pulls/1096/commits","review_comments_url":"https://api.github.com/repos/siacs/Conversations/pulls/1096/comments","review_comment_url":"https://api.github.com/repos/siacs/Conversations/pulls/comments{/number}","comments_url":"https://api.github.com/repos/siacs/Conversations/issues/1096/comments","statuses_url":"https://api.github.com/repos/siacs/Conversations/statuses/e64049c4fc0f4514dee011a1f616ea4bdff1f16a","head":{"label":"BrianBlade:account_state_switch","ref":"account_state_switch","sha":"e64049c4fc0f4514dee011a1f616ea4bdff1f16a","user":{"login":"BrianBlade","id":7414587,"avatar_url":"https://avatars.githubusercontent.com/u/7414587?v=3","gravatar_id":"","url":"https://api.github.com/users/BrianBlade","html_url":"https://github.com/BrianBlade","followers_url":"https://api.github.com/users/BrianBlade/followers","following_url":"https://api.github.com/users/BrianBlade/following{/other_user}","gists_url":"https://api.github.com/users/BrianBlade/gists{/gist_id}","starred_url":"https://api.github.com/users/BrianBlade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrianBlade/subscriptions","organizations_url":"https://api.github.com/users/BrianBlade/orgs","repos_url":"https://api.github.com/users/BrianBlade/repos","events_url":"https://api.github.com/users/BrianBlade/events{/privacy}","received_events_url":"https://api.github.com/users/BrianBlade/received_events","type":"User","site_admin":false},"repo":{"id":31925412,"name":"Conversations","full_name":"BrianBlade/Conversations","owner":{"login":"BrianBlade","id":7414587,"avatar_url":"https://avatars.githubusercontent.com/u/7414587?v=3","gravatar_id":"","url":"https://api.github.com/users/BrianBlade","html_url":"https://github.com/BrianBlade","followers_url":"https://api.github.com/users/BrianBlade/followers","following_url":"https://api.github.com/users/BrianBlade/following{/other_user}","gists_url":"https://api.github.com/users/BrianBlade/gists{/gist_id}","starred_url":"https://api.github.com/users/BrianBlade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrianBlade/subscriptions","organizations_url":"https://api.github.com/users/BrianBlade/orgs","repos_url":"https://api.github.com/users/BrianBlade/repos","events_url":"https://api.github.com/users/BrianBlade/events{/privacy}","received_events_url":"https://api.github.com/users/BrianBlade/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BrianBlade/Conversations","description":"Conversations is an open source XMPP/Jabber client for Android 4.0+ smart phones. ","fork":true,"url":"https://api.github.com/repos/BrianBlade/Conversations","forks_url":"https://api.github.com/repos/BrianBlade/Conversations/forks","keys_url":"https://api.github.com/repos/BrianBlade/Conversations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BrianBlade/Conversations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BrianBlade/Conversations/teams","hooks_url":"https://api.github.com/repos/BrianBlade/Conversations/hooks","issue_events_url":"https://api.github.com/repos/BrianBlade/Conversations/issues/events{/number}","events_url":"https://api.github.com/repos/BrianBlade/Conversations/events","assignees_url":"https://api.github.com/repos/BrianBlade/Conversations/assignees{/user}","branches_url":"https://api.github.com/repos/BrianBlade/Conversations/branches{/branch}","tags_url":"https://api.github.com/repos/BrianBlade/Conversations/tags","blobs_url":"https://api.github.com/repos/BrianBlade/Conversations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BrianBlade/Conversations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BrianBlade/Conversations/git/refs{/sha}","trees_url":"https://api.github.com/repos/BrianBlade/Conversations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BrianBlade/Conversations/statuses/{sha}","languages_url":"https://api.github.com/repos/BrianBlade/Conversations/languages","stargazers_url":"https://api.github.com/repos/BrianBlade/Conversations/stargazers","contributors_url":"https://api.github.com/repos/BrianBlade/Conversations/contributors","subscribers_url":"https://api.github.com/repos/BrianBlade/Conversations/subscribers","subscription_url":"https://api.github.com/repos/BrianBlade/Conversations/subscription","commits_url":"https://api.github.com/repos/BrianBlade/Conversations/commits{/sha}","git_commits_url":"https://api.github.com/repos/BrianBlade/Conversations/git/commits{/sha}","comments_url":"https://api.github.com/repos/BrianBlade/Conversations/comments{/number}","issue_comment_url":"https://api.github.com/repos/BrianBlade/Conversations/issues/comments{/number}","contents_url":"https://api.github.com/repos/BrianBlade/Conversations/contents/{+path}","compare_url":"https://api.github.com/repos/BrianBlade/Conversations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BrianBlade/Conversations/merges","archive_url":"https://api.github.com/repos/BrianBlade/Conversations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BrianBlade/Conversations/downloads","issues_url":"https://api.github.com/repos/BrianBlade/Conversations/issues{/number}","pulls_url":"https://api.github.com/repos/BrianBlade/Conversations/pulls{/number}","milestones_url":"https://api.github.com/repos/BrianBlade/Conversations/milestones{/number}","notifications_url":"https://api.github.com/repos/BrianBlade/Conversations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BrianBlade/Conversations/labels{/name}","releases_url":"https://api.github.com/repos/BrianBlade/Conversations/releases{/id}","created_at":"2015-03-09T22:09:47Z","updated_at":"2015-04-01T10:24:18Z","pushed_at":"2015-04-01T10:48:21Z","git_url":"git://github.com/BrianBlade/Conversations.git","ssh_url":"git@github.com:BrianBlade/Conversations.git","clone_url":"https://github.com/BrianBlade/Conversations.git","svn_url":"https://github.com/BrianBlade/Conversations","homepage":"","size":12322,"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":"development"}},"base":{"label":"siacs:development","ref":"development","sha":"7eabdfd80f50634282307f45c5f99ab46181805d","user":{"login":"siacs","id":6818654,"avatar_url":"https://avatars.githubusercontent.com/u/6818654?v=3","gravatar_id":"","url":"https://api.github.com/users/siacs","html_url":"https://github.com/siacs","followers_url":"https://api.github.com/users/siacs/followers","following_url":"https://api.github.com/users/siacs/following{/other_user}","gists_url":"https://api.github.com/users/siacs/gists{/gist_id}","starred_url":"https://api.github.com/users/siacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siacs/subscriptions","organizations_url":"https://api.github.com/users/siacs/orgs","repos_url":"https://api.github.com/users/siacs/repos","events_url":"https://api.github.com/users/siacs/events{/privacy}","received_events_url":"https://api.github.com/users/siacs/received_events","type":"Organization","site_admin":false},"repo":{"id":16191201,"name":"Conversations","full_name":"siacs/Conversations","owner":{"login":"siacs","id":6818654,"avatar_url":"https://avatars.githubusercontent.com/u/6818654?v=3","gravatar_id":"","url":"https://api.github.com/users/siacs","html_url":"https://github.com/siacs","followers_url":"https://api.github.com/users/siacs/followers","following_url":"https://api.github.com/users/siacs/following{/other_user}","gists_url":"https://api.github.com/users/siacs/gists{/gist_id}","starred_url":"https://api.github.com/users/siacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siacs/subscriptions","organizations_url":"https://api.github.com/users/siacs/orgs","repos_url":"https://api.github.com/users/siacs/repos","events_url":"https://api.github.com/users/siacs/events{/privacy}","received_events_url":"https://api.github.com/users/siacs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/siacs/Conversations","description":"Conversations is an open source XMPP/Jabber client for Android 4.0+ smart phones. ","fork":false,"url":"https://api.github.com/repos/siacs/Conversations","forks_url":"https://api.github.com/repos/siacs/Conversations/forks","keys_url":"https://api.github.com/repos/siacs/Conversations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/siacs/Conversations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/siacs/Conversations/teams","hooks_url":"https://api.github.com/repos/siacs/Conversations/hooks","issue_events_url":"https://api.github.com/repos/siacs/Conversations/issues/events{/number}","events_url":"https://api.github.com/repos/siacs/Conversations/events","assignees_url":"https://api.github.com/repos/siacs/Conversations/assignees{/user}","branches_url":"https://api.github.com/repos/siacs/Conversations/branches{/branch}","tags_url":"https://api.github.com/repos/siacs/Conversations/tags","blobs_url":"https://api.github.com/repos/siacs/Conversations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/siacs/Conversations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/siacs/Conversations/git/refs{/sha}","trees_url":"https://api.github.com/repos/siacs/Conversations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/siacs/Conversations/statuses/{sha}","languages_url":"https://api.github.com/repos/siacs/Conversations/languages","stargazers_url":"https://api.github.com/repos/siacs/Conversations/stargazers","contributors_url":"https://api.github.com/repos/siacs/Conversations/contributors","subscribers_url":"https://api.github.com/repos/siacs/Conversations/subscribers","subscription_url":"https://api.github.com/repos/siacs/Conversations/subscription","commits_url":"https://api.github.com/repos/siacs/Conversations/commits{/sha}","git_commits_url":"https://api.github.com/repos/siacs/Conversations/git/commits{/sha}","comments_url":"https://api.github.com/repos/siacs/Conversations/comments{/number}","issue_comment_url":"https://api.github.com/repos/siacs/Conversations/issues/comments{/number}","contents_url":"https://api.github.com/repos/siacs/Conversations/contents/{+path}","compare_url":"https://api.github.com/repos/siacs/Conversations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/siacs/Conversations/merges","archive_url":"https://api.github.com/repos/siacs/Conversations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/siacs/Conversations/downloads","issues_url":"https://api.github.com/repos/siacs/Conversations/issues{/number}","pulls_url":"https://api.github.com/repos/siacs/Conversations/pulls{/number}","milestones_url":"https://api.github.com/repos/siacs/Conversations/milestones{/number}","notifications_url":"https://api.github.com/repos/siacs/Conversations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/siacs/Conversations/labels{/name}","releases_url":"https://api.github.com/repos/siacs/Conversations/releases{/id}","created_at":"2014-01-24T01:07:34Z","updated_at":"2015-04-01T09:31:23Z","pushed_at":"2015-03-31T18:16:57Z","git_url":"git://github.com/siacs/Conversations.git","ssh_url":"git@github.com:siacs/Conversations.git","clone_url":"https://github.com/siacs/Conversations.git","svn_url":"https://github.com/siacs/Conversations","homepage":"","size":23796,"stargazers_count":929,"watchers_count":929,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":323,"mirror_url":null,"open_issues_count":120,"forks":323,"open_issues":120,"watchers":929,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/siacs/Conversations/pulls/1096"},"html":{"href":"https://github.com/siacs/Conversations/pull/1096"},"issue":{"href":"https://api.github.com/repos/siacs/Conversations/issues/1096"},"comments":{"href":"https://api.github.com/repos/siacs/Conversations/issues/1096/comments"},"review_comments":{"href":"https://api.github.com/repos/siacs/Conversations/pulls/1096/comments"},"review_comment":{"href":"https://api.github.com/repos/siacs/Conversations/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/siacs/Conversations/pulls/1096/commits"},"statuses":{"href":"https://api.github.com/repos/siacs/Conversations/statuses/e64049c4fc0f4514dee011a1f616ea4bdff1f16a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":45,"deletions":16,"changed_files":3}}