{"action":"created","comment":{"url":"https://api.github.com/repos/edx/edx-app-ios/pulls/comments/35974215","id":35974215,"diff_hunk":"@@ -234,7 +235,8 @@ class PostsViewController: UIViewController, UITableViewDataSource, UITableViewD\n                             following: discussionThread.following,\n                             flagged: discussionThread.flagged,\n                             voted: discussionThread.voted,\n-                            voteCount: discussionThread.voteCount)\n+                            voteCount: discussionThread.voteCount,\n+                            type : discussionThread.type ?? .Discussion)","path":"Source/PostsViewController.swift","position":14,"original_position":14,"commit_id":"bb990c0495a55a4dd80e444bc14666ae5be5752f","original_commit_id":"bb990c0495a55a4dd80e444bc14666ae5be5752f","user":{"login":"ehmadzubair","id":10597112,"avatar_url":"https://avatars.githubusercontent.com/u/10597112?v=3","gravatar_id":"","url":"https://api.github.com/users/ehmadzubair","html_url":"https://github.com/ehmadzubair","followers_url":"https://api.github.com/users/ehmadzubair/followers","following_url":"https://api.github.com/users/ehmadzubair/following{/other_user}","gists_url":"https://api.github.com/users/ehmadzubair/gists{/gist_id}","starred_url":"https://api.github.com/users/ehmadzubair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehmadzubair/subscriptions","organizations_url":"https://api.github.com/users/ehmadzubair/orgs","repos_url":"https://api.github.com/users/ehmadzubair/repos","events_url":"https://api.github.com/users/ehmadzubair/events{/privacy}","received_events_url":"https://api.github.com/users/ehmadzubair/received_events","type":"User","site_admin":false},"body":"This also doesn't look neat..","created_at":"2015-07-31T13:45:53Z","updated_at":"2015-07-31T13:45:53Z","html_url":"https://github.com/edx/edx-app-ios/pull/326#discussion_r35974215","pull_request_url":"https://api.github.com/repos/edx/edx-app-ios/pulls/326","_links":{"self":{"href":"https://api.github.com/repos/edx/edx-app-ios/pulls/comments/35974215"},"html":{"href":"https://github.com/edx/edx-app-ios/pull/326#discussion_r35974215"},"pull_request":{"href":"https://api.github.com/repos/edx/edx-app-ios/pulls/326"}}},"pull_request":{"url":"https://api.github.com/repos/edx/edx-app-ios/pulls/326","id":41340086,"html_url":"https://github.com/edx/edx-app-ios/pull/326","diff_url":"https://github.com/edx/edx-app-ios/pull/326.diff","patch_url":"https://github.com/edx/edx-app-ios/pull/326.patch","issue_url":"https://api.github.com/repos/edx/edx-app-ios/issues/326","number":326,"state":"open","locked":false,"title":"Show different UI for different post types","user":{"login":"ehmadzubair","id":10597112,"avatar_url":"https://avatars.githubusercontent.com/u/10597112?v=3","gravatar_id":"","url":"https://api.github.com/users/ehmadzubair","html_url":"https://github.com/ehmadzubair","followers_url":"https://api.github.com/users/ehmadzubair/followers","following_url":"https://api.github.com/users/ehmadzubair/following{/other_user}","gists_url":"https://api.github.com/users/ehmadzubair/gists{/gist_id}","starred_url":"https://api.github.com/users/ehmadzubair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehmadzubair/subscriptions","organizations_url":"https://api.github.com/users/ehmadzubair/orgs","repos_url":"https://api.github.com/users/ehmadzubair/repos","events_url":"https://api.github.com/users/ehmadzubair/events{/privacy}","received_events_url":"https://api.github.com/users/ehmadzubair/received_events","type":"User","site_admin":false},"body":"Question shows as a question type now.\r\n\r\n### Screenshot\r\n![ios simulator screen shot 31-jul-2015 6 37 00 pm](https://cloud.githubusercontent.com/assets/10597112/9008408/982cb978-37b3-11e5-9a0e-63a29c69595b.png)\r\n","created_at":"2015-07-31T13:40:09Z","updated_at":"2015-07-31T13:45:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3df8ebd2c2e9e934277036c549e0fd7cdc9b0854","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/edx/edx-app-ios/pulls/326/commits","review_comments_url":"https://api.github.com/repos/edx/edx-app-ios/pulls/326/comments","review_comment_url":"https://api.github.com/repos/edx/edx-app-ios/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edx/edx-app-ios/issues/326/comments","statuses_url":"https://api.github.com/repos/edx/edx-app-ios/statuses/bb990c0495a55a4dd80e444bc14666ae5be5752f","head":{"label":"edx:ehmad-MA-1085","ref":"ehmad-MA-1085","sha":"bb990c0495a55a4dd80e444bc14666ae5be5752f","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":29251733,"name":"edx-app-ios","full_name":"edx/edx-app-ios","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/edx-app-ios","description":"","fork":false,"url":"https://api.github.com/repos/edx/edx-app-ios","forks_url":"https://api.github.com/repos/edx/edx-app-ios/forks","keys_url":"https://api.github.com/repos/edx/edx-app-ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-app-ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-app-ios/teams","hooks_url":"https://api.github.com/repos/edx/edx-app-ios/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-app-ios/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-app-ios/events","assignees_url":"https://api.github.com/repos/edx/edx-app-ios/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-app-ios/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-app-ios/tags","blobs_url":"https://api.github.com/repos/edx/edx-app-ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-app-ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-app-ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-app-ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-app-ios/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-app-ios/languages","stargazers_url":"https://api.github.com/repos/edx/edx-app-ios/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-app-ios/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-app-ios/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-app-ios/subscription","commits_url":"https://api.github.com/repos/edx/edx-app-ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-app-ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-app-ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-app-ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-app-ios/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-app-ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-app-ios/merges","archive_url":"https://api.github.com/repos/edx/edx-app-ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-app-ios/downloads","issues_url":"https://api.github.com/repos/edx/edx-app-ios/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-app-ios/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-app-ios/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-app-ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-app-ios/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-app-ios/releases{/id}","created_at":"2015-01-14T15:49:29Z","updated_at":"2015-07-30T05:58:45Z","pushed_at":"2015-07-31T13:40:10Z","git_url":"git://github.com/edx/edx-app-ios.git","ssh_url":"git@github.com:edx/edx-app-ios.git","clone_url":"https://github.com/edx/edx-app-ios.git","svn_url":"https://github.com/edx/edx-app-ios","homepage":null,"size":302056,"stargazers_count":29,"watchers_count":29,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":3,"forks":24,"open_issues":3,"watchers":29,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"07764503f34a036e8fecd7c0f916aa3d1167d128","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":29251733,"name":"edx-app-ios","full_name":"edx/edx-app-ios","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/edx-app-ios","description":"","fork":false,"url":"https://api.github.com/repos/edx/edx-app-ios","forks_url":"https://api.github.com/repos/edx/edx-app-ios/forks","keys_url":"https://api.github.com/repos/edx/edx-app-ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-app-ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-app-ios/teams","hooks_url":"https://api.github.com/repos/edx/edx-app-ios/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-app-ios/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-app-ios/events","assignees_url":"https://api.github.com/repos/edx/edx-app-ios/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-app-ios/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-app-ios/tags","blobs_url":"https://api.github.com/repos/edx/edx-app-ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-app-ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-app-ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-app-ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-app-ios/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-app-ios/languages","stargazers_url":"https://api.github.com/repos/edx/edx-app-ios/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-app-ios/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-app-ios/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-app-ios/subscription","commits_url":"https://api.github.com/repos/edx/edx-app-ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-app-ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-app-ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-app-ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-app-ios/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-app-ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-app-ios/merges","archive_url":"https://api.github.com/repos/edx/edx-app-ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-app-ios/downloads","issues_url":"https://api.github.com/repos/edx/edx-app-ios/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-app-ios/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-app-ios/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-app-ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-app-ios/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-app-ios/releases{/id}","created_at":"2015-01-14T15:49:29Z","updated_at":"2015-07-30T05:58:45Z","pushed_at":"2015-07-31T13:40:10Z","git_url":"git://github.com/edx/edx-app-ios.git","ssh_url":"git@github.com:edx/edx-app-ios.git","clone_url":"https://github.com/edx/edx-app-ios.git","svn_url":"https://github.com/edx/edx-app-ios","homepage":null,"size":302056,"stargazers_count":29,"watchers_count":29,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":3,"forks":24,"open_issues":3,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/edx-app-ios/pulls/326"},"html":{"href":"https://github.com/edx/edx-app-ios/pull/326"},"issue":{"href":"https://api.github.com/repos/edx/edx-app-ios/issues/326"},"comments":{"href":"https://api.github.com/repos/edx/edx-app-ios/issues/326/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/edx-app-ios/pulls/326/comments"},"review_comment":{"href":"https://api.github.com/repos/edx/edx-app-ios/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edx/edx-app-ios/pulls/326/commits"},"statuses":{"href":"https://api.github.com/repos/edx/edx-app-ios/statuses/bb990c0495a55a4dd80e444bc14666ae5be5752f"}}}}