{"action":"created","comment":{"url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/pulls/comments/36790904","id":36790904,"diff_hunk":"@@ -234,6 +233,37 @@ - (void)installConstraints\n     }];\n }\n \n+- (void)viewDidLayoutSubviews\n+{\n+    [self adjustPreviewLayer];\n+}\n+\n+- (void)updateCallsControlViewExpand\n+{\n+    self.callControlsView.type = CallsControlsViewTypeExpand;\n+\n+    [self.callControlsView remakeConstraints:^(MASConstraintMaker *make) {\n+        make.top.equalTo(self.topViewContainer.bottom).with.offset(kIndent);\n+        make.centerX.equalTo(self.view);\n+        make.left.equalTo(self.view).with.offset(kIndent);\n+        make.right.equalTo(self.view).with.offset(-kIndent);\n+        make.bottom.equalTo(self.view.centerY).with.offset(-kIndent);\n+    }];\n+\n+    self.endCallButton.hidden = NO;\n+}\n+\n+- (void)updateCallsControlViewCondensed\n+{\n+    self.callControlsView.type = CallsControlsViewTypeCompact;\n+    self.endCallButton.hidden = YES;\n+\n+    [self.callControlsView remakeConstraints:^(MASConstraintMaker *make) {\n+        make.bottom.equalTo(self.view);\n+        make.left.equalTo(self.view);\n+        make.right.equalTo(self.view);\n+    }];\n+}","path":"Antidote/ActiveCallViewController.m","position":null,"original_position":64,"commit_id":"2516719c12b3287c5643924a54d934251c25789b","original_commit_id":"e27d55a097dcff7921868b611d6b9b9419351a42","user":{"login":"dvor","id":1132979,"avatar_url":"https://avatars.githubusercontent.com/u/1132979?v=3","gravatar_id":"","url":"https://api.github.com/users/dvor","html_url":"https://github.com/dvor","followers_url":"https://api.github.com/users/dvor/followers","following_url":"https://api.github.com/users/dvor/following{/other_user}","gists_url":"https://api.github.com/users/dvor/gists{/gist_id}","starred_url":"https://api.github.com/users/dvor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvor/subscriptions","organizations_url":"https://api.github.com/users/dvor/orgs","repos_url":"https://api.github.com/users/dvor/repos","events_url":"https://api.github.com/users/dvor/events{/privacy}","received_events_url":"https://api.github.com/users/dvor/received_events","type":"User","site_admin":false},"body":"Cool :+1: ","created_at":"2015-08-11T19:57:34Z","updated_at":"2015-08-11T19:57:34Z","html_url":"https://github.com/Antidote-for-Tox/Antidote/pull/103#discussion_r36790904","pull_request_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/pulls/103","_links":{"self":{"href":"https://api.github.com/repos/Antidote-for-Tox/Antidote/pulls/comments/36790904"},"html":{"href":"https://github.com/Antidote-for-Tox/Antidote/pull/103#discussion_r36790904"},"pull_request":{"href":"https://api.github.com/repos/Antidote-for-Tox/Antidote/pulls/103"}}},"pull_request":{"url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/pulls/103","id":42094217,"html_url":"https://github.com/Antidote-for-Tox/Antidote/pull/103","diff_url":"https://github.com/Antidote-for-Tox/Antidote/pull/103.diff","patch_url":"https://github.com/Antidote-for-Tox/Antidote/pull/103.patch","issue_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/issues/103","number":103,"state":"open","locked":false,"title":"Support video for Antidote","user":{"login":"Chuongv","id":5170710,"avatar_url":"https://avatars.githubusercontent.com/u/5170710?v=3","gravatar_id":"","url":"https://api.github.com/users/Chuongv","html_url":"https://github.com/Chuongv","followers_url":"https://api.github.com/users/Chuongv/followers","following_url":"https://api.github.com/users/Chuongv/following{/other_user}","gists_url":"https://api.github.com/users/Chuongv/gists{/gist_id}","starred_url":"https://api.github.com/users/Chuongv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chuongv/subscriptions","organizations_url":"https://api.github.com/users/Chuongv/orgs","repos_url":"https://api.github.com/users/Chuongv/repos","events_url":"https://api.github.com/users/Chuongv/events{/privacy}","received_events_url":"https://api.github.com/users/Chuongv/received_events","type":"User","site_admin":false},"body":"Still pretty a lot to work on. But if you have any advice or suggestions, please let me know. \r\n\r\nAdd CompactControlsView - Call controls shown horizontally\r\nCallControlsView has a type that determines if it shows the\r\ncompacted control view or the normal view.","created_at":"2015-08-11T05:35:20Z","updated_at":"2015-08-11T19:57:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9d2c2dd450421185aa6b03a33399313c680a4753","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/pulls/103/commits","review_comments_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/pulls/103/comments","review_comment_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/issues/103/comments","statuses_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/statuses/2516719c12b3287c5643924a54d934251c25789b","head":{"label":"Antidote-for-Tox:chuongv/addVideo","ref":"chuongv/addVideo","sha":"2516719c12b3287c5643924a54d934251c25789b","user":{"login":"Antidote-for-Tox","id":12895321,"avatar_url":"https://avatars.githubusercontent.com/u/12895321?v=3","gravatar_id":"","url":"https://api.github.com/users/Antidote-for-Tox","html_url":"https://github.com/Antidote-for-Tox","followers_url":"https://api.github.com/users/Antidote-for-Tox/followers","following_url":"https://api.github.com/users/Antidote-for-Tox/following{/other_user}","gists_url":"https://api.github.com/users/Antidote-for-Tox/gists{/gist_id}","starred_url":"https://api.github.com/users/Antidote-for-Tox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Antidote-for-Tox/subscriptions","organizations_url":"https://api.github.com/users/Antidote-for-Tox/orgs","repos_url":"https://api.github.com/users/Antidote-for-Tox/repos","events_url":"https://api.github.com/users/Antidote-for-Tox/events{/privacy}","received_events_url":"https://api.github.com/users/Antidote-for-Tox/received_events","type":"Organization","site_admin":false},"repo":{"id":22009360,"name":"Antidote","full_name":"Antidote-for-Tox/Antidote","owner":{"login":"Antidote-for-Tox","id":12895321,"avatar_url":"https://avatars.githubusercontent.com/u/12895321?v=3","gravatar_id":"","url":"https://api.github.com/users/Antidote-for-Tox","html_url":"https://github.com/Antidote-for-Tox","followers_url":"https://api.github.com/users/Antidote-for-Tox/followers","following_url":"https://api.github.com/users/Antidote-for-Tox/following{/other_user}","gists_url":"https://api.github.com/users/Antidote-for-Tox/gists{/gist_id}","starred_url":"https://api.github.com/users/Antidote-for-Tox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Antidote-for-Tox/subscriptions","organizations_url":"https://api.github.com/users/Antidote-for-Tox/orgs","repos_url":"https://api.github.com/users/Antidote-for-Tox/repos","events_url":"https://api.github.com/users/Antidote-for-Tox/events{/privacy}","received_events_url":"https://api.github.com/users/Antidote-for-Tox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Antidote-for-Tox/Antidote","description":"Tox client for iOS","fork":false,"url":"https://api.github.com/repos/Antidote-for-Tox/Antidote","forks_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/forks","keys_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/teams","hooks_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/hooks","issue_events_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/issues/events{/number}","events_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/events","assignees_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/assignees{/user}","branches_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/branches{/branch}","tags_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/tags","blobs_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/git/refs{/sha}","trees_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/statuses/{sha}","languages_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/languages","stargazers_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/stargazers","contributors_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/contributors","subscribers_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/subscribers","subscription_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/subscription","commits_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/commits{/sha}","git_commits_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/git/commits{/sha}","comments_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/comments{/number}","issue_comment_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/issues/comments{/number}","contents_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/contents/{+path}","compare_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/merges","archive_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/downloads","issues_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/issues{/number}","pulls_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/pulls{/number}","milestones_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/milestones{/number}","notifications_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/labels{/name}","releases_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/releases{/id}","created_at":"2014-07-19T12:35:35Z","updated_at":"2015-08-11T10:19:34Z","pushed_at":"2015-08-11T17:56:23Z","git_url":"git://github.com/Antidote-for-Tox/Antidote.git","ssh_url":"git@github.com:Antidote-for-Tox/Antidote.git","clone_url":"https://github.com/Antidote-for-Tox/Antidote.git","svn_url":"https://github.com/Antidote-for-Tox/Antidote","homepage":"https://antidote.im","size":36335,"stargazers_count":112,"watchers_count":112,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":34,"forks":27,"open_issues":34,"watchers":112,"default_branch":"master"}},"base":{"label":"Antidote-for-Tox:audio","ref":"audio","sha":"5dfff902a292123df72c400f025c87d48022adf2","user":{"login":"Antidote-for-Tox","id":12895321,"avatar_url":"https://avatars.githubusercontent.com/u/12895321?v=3","gravatar_id":"","url":"https://api.github.com/users/Antidote-for-Tox","html_url":"https://github.com/Antidote-for-Tox","followers_url":"https://api.github.com/users/Antidote-for-Tox/followers","following_url":"https://api.github.com/users/Antidote-for-Tox/following{/other_user}","gists_url":"https://api.github.com/users/Antidote-for-Tox/gists{/gist_id}","starred_url":"https://api.github.com/users/Antidote-for-Tox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Antidote-for-Tox/subscriptions","organizations_url":"https://api.github.com/users/Antidote-for-Tox/orgs","repos_url":"https://api.github.com/users/Antidote-for-Tox/repos","events_url":"https://api.github.com/users/Antidote-for-Tox/events{/privacy}","received_events_url":"https://api.github.com/users/Antidote-for-Tox/received_events","type":"Organization","site_admin":false},"repo":{"id":22009360,"name":"Antidote","full_name":"Antidote-for-Tox/Antidote","owner":{"login":"Antidote-for-Tox","id":12895321,"avatar_url":"https://avatars.githubusercontent.com/u/12895321?v=3","gravatar_id":"","url":"https://api.github.com/users/Antidote-for-Tox","html_url":"https://github.com/Antidote-for-Tox","followers_url":"https://api.github.com/users/Antidote-for-Tox/followers","following_url":"https://api.github.com/users/Antidote-for-Tox/following{/other_user}","gists_url":"https://api.github.com/users/Antidote-for-Tox/gists{/gist_id}","starred_url":"https://api.github.com/users/Antidote-for-Tox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Antidote-for-Tox/subscriptions","organizations_url":"https://api.github.com/users/Antidote-for-Tox/orgs","repos_url":"https://api.github.com/users/Antidote-for-Tox/repos","events_url":"https://api.github.com/users/Antidote-for-Tox/events{/privacy}","received_events_url":"https://api.github.com/users/Antidote-for-Tox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Antidote-for-Tox/Antidote","description":"Tox client for iOS","fork":false,"url":"https://api.github.com/repos/Antidote-for-Tox/Antidote","forks_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/forks","keys_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/teams","hooks_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/hooks","issue_events_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/issues/events{/number}","events_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/events","assignees_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/assignees{/user}","branches_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/branches{/branch}","tags_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/tags","blobs_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/git/refs{/sha}","trees_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/statuses/{sha}","languages_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/languages","stargazers_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/stargazers","contributors_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/contributors","subscribers_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/subscribers","subscription_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/subscription","commits_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/commits{/sha}","git_commits_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/git/commits{/sha}","comments_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/comments{/number}","issue_comment_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/issues/comments{/number}","contents_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/contents/{+path}","compare_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/merges","archive_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/downloads","issues_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/issues{/number}","pulls_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/pulls{/number}","milestones_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/milestones{/number}","notifications_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/labels{/name}","releases_url":"https://api.github.com/repos/Antidote-for-Tox/Antidote/releases{/id}","created_at":"2014-07-19T12:35:35Z","updated_at":"2015-08-11T10:19:34Z","pushed_at":"2015-08-11T17:56:23Z","git_url":"git://github.com/Antidote-for-Tox/Antidote.git","ssh_url":"git@github.com:Antidote-for-Tox/Antidote.git","clone_url":"https://github.com/Antidote-for-Tox/Antidote.git","svn_url":"https://github.com/Antidote-for-Tox/Antidote","homepage":"https://antidote.im","size":36335,"stargazers_count":112,"watchers_count":112,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":34,"forks":27,"open_issues":34,"watchers":112,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Antidote-for-Tox/Antidote/pulls/103"},"html":{"href":"https://github.com/Antidote-for-Tox/Antidote/pull/103"},"issue":{"href":"https://api.github.com/repos/Antidote-for-Tox/Antidote/issues/103"},"comments":{"href":"https://api.github.com/repos/Antidote-for-Tox/Antidote/issues/103/comments"},"review_comments":{"href":"https://api.github.com/repos/Antidote-for-Tox/Antidote/pulls/103/comments"},"review_comment":{"href":"https://api.github.com/repos/Antidote-for-Tox/Antidote/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Antidote-for-Tox/Antidote/pulls/103/commits"},"statuses":{"href":"https://api.github.com/repos/Antidote-for-Tox/Antidote/statuses/2516719c12b3287c5643924a54d934251c25789b"}}}}