{"action":"created","comment":{"url":"https://api.github.com/repos/BudIT/vclub/pulls/comments/93394119","pull_request_review_id":13917702,"id":93394119,"diff_hunk":"@@ -0,0 +1,45 @@\n+import React, { PropTypes } from 'react';\n+import { Field, reduxForm } from 'redux-form';\n+import compose from 'recompose/compose';\n+import { connect } from 'react-redux';\n+\n+\n+const enhance = compose(\n+  connect(state => ({\n+    messages: state.chat.messages,\n+  })),\n+      reduxForm({\n+        form: 'chatMessage',\n+        initialValues: {\n+          message: '',\n+        },\n+      }),\n+);\n+\n+function InputBox(props) {\n+  const { handleSubmit, pristine, submitting } = props;\n+  return (\n+    <form onSubmit={handleSubmit}>\n+      <div>\n+        <Field name=\"message\" component=\"input\" type=\"text\" placeholder=\"message\" />\n+      </div>\n+      <button type=\"submit\" disabled={submitting || pristine}>Send</button>","path":"src/views/chatRoom/InputBox/InputBox.js","position":26,"original_position":26,"commit_id":"46be1df4ca62b97e26f08c9da61be43c58142e37","original_commit_id":"46be1df4ca62b97e26f08c9da61be43c58142e37","user":{"login":"kastigar","id":338570,"avatar_url":"https://avatars.githubusercontent.com/u/338570?v=3","gravatar_id":"","url":"https://api.github.com/users/kastigar","html_url":"https://github.com/kastigar","followers_url":"https://api.github.com/users/kastigar/followers","following_url":"https://api.github.com/users/kastigar/following{/other_user}","gists_url":"https://api.github.com/users/kastigar/gists{/gist_id}","starred_url":"https://api.github.com/users/kastigar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kastigar/subscriptions","organizations_url":"https://api.github.com/users/kastigar/orgs","repos_url":"https://api.github.com/users/kastigar/repos","events_url":"https://api.github.com/users/kastigar/events{/privacy}","received_events_url":"https://api.github.com/users/kastigar/received_events","type":"User","site_admin":false},"body":"!","created_at":"2016-12-21T08:28:56Z","updated_at":"2016-12-21T08:28:56Z","html_url":"https://github.com/BudIT/vclub/pull/26#discussion_r93394119","pull_request_url":"https://api.github.com/repos/BudIT/vclub/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/BudIT/vclub/pulls/comments/93394119"},"html":{"href":"https://github.com/BudIT/vclub/pull/26#discussion_r93394119"},"pull_request":{"href":"https://api.github.com/repos/BudIT/vclub/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/BudIT/vclub/pulls/26","id":97708724,"html_url":"https://github.com/BudIT/vclub/pull/26","diff_url":"https://github.com/BudIT/vclub/pull/26.diff","patch_url":"https://github.com/BudIT/vclub/pull/26.patch","issue_url":"https://api.github.com/repos/BudIT/vclub/issues/26","number":26,"state":"open","locked":false,"title":"Feature/borex/chat","user":{"login":"kastigar","id":338570,"avatar_url":"https://avatars.githubusercontent.com/u/338570?v=3","gravatar_id":"","url":"https://api.github.com/users/kastigar","html_url":"https://github.com/kastigar","followers_url":"https://api.github.com/users/kastigar/followers","following_url":"https://api.github.com/users/kastigar/following{/other_user}","gists_url":"https://api.github.com/users/kastigar/gists{/gist_id}","starred_url":"https://api.github.com/users/kastigar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kastigar/subscriptions","organizations_url":"https://api.github.com/users/kastigar/orgs","repos_url":"https://api.github.com/users/kastigar/repos","events_url":"https://api.github.com/users/kastigar/events{/privacy}","received_events_url":"https://api.github.com/users/kastigar/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-13T08:55:40Z","updated_at":"2016-12-21T08:32:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/BudIT/vclub/pulls/26/commits","review_comments_url":"https://api.github.com/repos/BudIT/vclub/pulls/26/comments","review_comment_url":"https://api.github.com/repos/BudIT/vclub/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BudIT/vclub/issues/26/comments","statuses_url":"https://api.github.com/repos/BudIT/vclub/statuses/46be1df4ca62b97e26f08c9da61be43c58142e37","head":{"label":"BudIT:feature/borex/chat","ref":"feature/borex/chat","sha":"46be1df4ca62b97e26f08c9da61be43c58142e37","user":{"login":"BudIT","id":19260318,"avatar_url":"https://avatars.githubusercontent.com/u/19260318?v=3","gravatar_id":"","url":"https://api.github.com/users/BudIT","html_url":"https://github.com/BudIT","followers_url":"https://api.github.com/users/BudIT/followers","following_url":"https://api.github.com/users/BudIT/following{/other_user}","gists_url":"https://api.github.com/users/BudIT/gists{/gist_id}","starred_url":"https://api.github.com/users/BudIT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BudIT/subscriptions","organizations_url":"https://api.github.com/users/BudIT/orgs","repos_url":"https://api.github.com/users/BudIT/repos","events_url":"https://api.github.com/users/BudIT/events{/privacy}","received_events_url":"https://api.github.com/users/BudIT/received_events","type":"Organization","site_admin":false},"repo":{"id":58863305,"name":"vclub","full_name":"BudIT/vclub","owner":{"login":"BudIT","id":19260318,"avatar_url":"https://avatars.githubusercontent.com/u/19260318?v=3","gravatar_id":"","url":"https://api.github.com/users/BudIT","html_url":"https://github.com/BudIT","followers_url":"https://api.github.com/users/BudIT/followers","following_url":"https://api.github.com/users/BudIT/following{/other_user}","gists_url":"https://api.github.com/users/BudIT/gists{/gist_id}","starred_url":"https://api.github.com/users/BudIT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BudIT/subscriptions","organizations_url":"https://api.github.com/users/BudIT/orgs","repos_url":"https://api.github.com/users/BudIT/repos","events_url":"https://api.github.com/users/BudIT/events{/privacy}","received_events_url":"https://api.github.com/users/BudIT/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BudIT/vclub","description":"Virtual Club main repository","fork":false,"url":"https://api.github.com/repos/BudIT/vclub","forks_url":"https://api.github.com/repos/BudIT/vclub/forks","keys_url":"https://api.github.com/repos/BudIT/vclub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BudIT/vclub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BudIT/vclub/teams","hooks_url":"https://api.github.com/repos/BudIT/vclub/hooks","issue_events_url":"https://api.github.com/repos/BudIT/vclub/issues/events{/number}","events_url":"https://api.github.com/repos/BudIT/vclub/events","assignees_url":"https://api.github.com/repos/BudIT/vclub/assignees{/user}","branches_url":"https://api.github.com/repos/BudIT/vclub/branches{/branch}","tags_url":"https://api.github.com/repos/BudIT/vclub/tags","blobs_url":"https://api.github.com/repos/BudIT/vclub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BudIT/vclub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BudIT/vclub/git/refs{/sha}","trees_url":"https://api.github.com/repos/BudIT/vclub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BudIT/vclub/statuses/{sha}","languages_url":"https://api.github.com/repos/BudIT/vclub/languages","stargazers_url":"https://api.github.com/repos/BudIT/vclub/stargazers","contributors_url":"https://api.github.com/repos/BudIT/vclub/contributors","subscribers_url":"https://api.github.com/repos/BudIT/vclub/subscribers","subscription_url":"https://api.github.com/repos/BudIT/vclub/subscription","commits_url":"https://api.github.com/repos/BudIT/vclub/commits{/sha}","git_commits_url":"https://api.github.com/repos/BudIT/vclub/git/commits{/sha}","comments_url":"https://api.github.com/repos/BudIT/vclub/comments{/number}","issue_comment_url":"https://api.github.com/repos/BudIT/vclub/issues/comments{/number}","contents_url":"https://api.github.com/repos/BudIT/vclub/contents/{+path}","compare_url":"https://api.github.com/repos/BudIT/vclub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BudIT/vclub/merges","archive_url":"https://api.github.com/repos/BudIT/vclub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BudIT/vclub/downloads","issues_url":"https://api.github.com/repos/BudIT/vclub/issues{/number}","pulls_url":"https://api.github.com/repos/BudIT/vclub/pulls{/number}","milestones_url":"https://api.github.com/repos/BudIT/vclub/milestones{/number}","notifications_url":"https://api.github.com/repos/BudIT/vclub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BudIT/vclub/labels{/name}","releases_url":"https://api.github.com/repos/BudIT/vclub/releases{/id}","deployments_url":"https://api.github.com/repos/BudIT/vclub/deployments","created_at":"2016-05-15T13:33:03Z","updated_at":"2016-10-24T13:47:18Z","pushed_at":"2016-12-20T02:59:33Z","git_url":"git://github.com/BudIT/vclub.git","ssh_url":"git@github.com:BudIT/vclub.git","clone_url":"https://github.com/BudIT/vclub.git","svn_url":"https://github.com/BudIT/vclub","homepage":null,"size":1747,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"BudIT:master","ref":"master","sha":"e2fbf3baede7c826be4718afd6c491fac67fe046","user":{"login":"BudIT","id":19260318,"avatar_url":"https://avatars.githubusercontent.com/u/19260318?v=3","gravatar_id":"","url":"https://api.github.com/users/BudIT","html_url":"https://github.com/BudIT","followers_url":"https://api.github.com/users/BudIT/followers","following_url":"https://api.github.com/users/BudIT/following{/other_user}","gists_url":"https://api.github.com/users/BudIT/gists{/gist_id}","starred_url":"https://api.github.com/users/BudIT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BudIT/subscriptions","organizations_url":"https://api.github.com/users/BudIT/orgs","repos_url":"https://api.github.com/users/BudIT/repos","events_url":"https://api.github.com/users/BudIT/events{/privacy}","received_events_url":"https://api.github.com/users/BudIT/received_events","type":"Organization","site_admin":false},"repo":{"id":58863305,"name":"vclub","full_name":"BudIT/vclub","owner":{"login":"BudIT","id":19260318,"avatar_url":"https://avatars.githubusercontent.com/u/19260318?v=3","gravatar_id":"","url":"https://api.github.com/users/BudIT","html_url":"https://github.com/BudIT","followers_url":"https://api.github.com/users/BudIT/followers","following_url":"https://api.github.com/users/BudIT/following{/other_user}","gists_url":"https://api.github.com/users/BudIT/gists{/gist_id}","starred_url":"https://api.github.com/users/BudIT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BudIT/subscriptions","organizations_url":"https://api.github.com/users/BudIT/orgs","repos_url":"https://api.github.com/users/BudIT/repos","events_url":"https://api.github.com/users/BudIT/events{/privacy}","received_events_url":"https://api.github.com/users/BudIT/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BudIT/vclub","description":"Virtual Club main repository","fork":false,"url":"https://api.github.com/repos/BudIT/vclub","forks_url":"https://api.github.com/repos/BudIT/vclub/forks","keys_url":"https://api.github.com/repos/BudIT/vclub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BudIT/vclub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BudIT/vclub/teams","hooks_url":"https://api.github.com/repos/BudIT/vclub/hooks","issue_events_url":"https://api.github.com/repos/BudIT/vclub/issues/events{/number}","events_url":"https://api.github.com/repos/BudIT/vclub/events","assignees_url":"https://api.github.com/repos/BudIT/vclub/assignees{/user}","branches_url":"https://api.github.com/repos/BudIT/vclub/branches{/branch}","tags_url":"https://api.github.com/repos/BudIT/vclub/tags","blobs_url":"https://api.github.com/repos/BudIT/vclub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BudIT/vclub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BudIT/vclub/git/refs{/sha}","trees_url":"https://api.github.com/repos/BudIT/vclub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BudIT/vclub/statuses/{sha}","languages_url":"https://api.github.com/repos/BudIT/vclub/languages","stargazers_url":"https://api.github.com/repos/BudIT/vclub/stargazers","contributors_url":"https://api.github.com/repos/BudIT/vclub/contributors","subscribers_url":"https://api.github.com/repos/BudIT/vclub/subscribers","subscription_url":"https://api.github.com/repos/BudIT/vclub/subscription","commits_url":"https://api.github.com/repos/BudIT/vclub/commits{/sha}","git_commits_url":"https://api.github.com/repos/BudIT/vclub/git/commits{/sha}","comments_url":"https://api.github.com/repos/BudIT/vclub/comments{/number}","issue_comment_url":"https://api.github.com/repos/BudIT/vclub/issues/comments{/number}","contents_url":"https://api.github.com/repos/BudIT/vclub/contents/{+path}","compare_url":"https://api.github.com/repos/BudIT/vclub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BudIT/vclub/merges","archive_url":"https://api.github.com/repos/BudIT/vclub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BudIT/vclub/downloads","issues_url":"https://api.github.com/repos/BudIT/vclub/issues{/number}","pulls_url":"https://api.github.com/repos/BudIT/vclub/pulls{/number}","milestones_url":"https://api.github.com/repos/BudIT/vclub/milestones{/number}","notifications_url":"https://api.github.com/repos/BudIT/vclub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BudIT/vclub/labels{/name}","releases_url":"https://api.github.com/repos/BudIT/vclub/releases{/id}","deployments_url":"https://api.github.com/repos/BudIT/vclub/deployments","created_at":"2016-05-15T13:33:03Z","updated_at":"2016-10-24T13:47:18Z","pushed_at":"2016-12-20T02:59:33Z","git_url":"git://github.com/BudIT/vclub.git","ssh_url":"git@github.com:BudIT/vclub.git","clone_url":"https://github.com/BudIT/vclub.git","svn_url":"https://github.com/BudIT/vclub","homepage":null,"size":1747,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BudIT/vclub/pulls/26"},"html":{"href":"https://github.com/BudIT/vclub/pull/26"},"issue":{"href":"https://api.github.com/repos/BudIT/vclub/issues/26"},"comments":{"href":"https://api.github.com/repos/BudIT/vclub/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/BudIT/vclub/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/BudIT/vclub/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BudIT/vclub/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/BudIT/vclub/statuses/46be1df4ca62b97e26f08c9da61be43c58142e37"}}}}
{"actor":{"display_login":"kastigar"}}