{"action":"created","comment":{"url":"https://api.github.com/repos/CaliOpen/Caliopen/pulls/comments/235398437","pull_request_review_id":177252968,"id":235398437,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNTM5ODQzNw==","diff_hunk":"@@ -99,94 +101,102 @@ class ReplyForm extends Component {\n   render() {\n     const {\n       user, parentMessage, renderDraftMessageActionsContainer, isSending, renderAttachments,\n-      draftFormRef,\n+      draftFormRef, lastMessage,\n     } = this.props;\n     const dropdownId = uuidV1();\n     const excerpt = parentMessage && parentMessage.excerpt;\n \n-    return (\n-      <DiscussionDraft className=\"m-reply\" draftFormRef={draftFormRef}>\n-        <div className=\"m-reply__avatar-col\">\n-          <ContactAvatarLetter\n-            contact={user.contact}\n-            className=\"m-reply__avatar\"\n-          />\n-        </div>\n-        <form method=\"POST\" className=\"m-reply__form-col\">\n-          <TopRow className=\"m-reply__top-bar\">\n-            <div className=\"m-reply__top-bar-info\">\n-              <div className=\"m-reply__author\"><Trans id=\"reply-form.you\">You</Trans></div>\n-              {this.state.draft.type && this.renderDraftType()}\n-              <div className=\"m-reply__date\"><Trans id=\"reply-form.now\">Now</Trans></div>\n-            </div>\n-\n-            <DropdownControl toggleId={dropdownId} className=\"m-reply__top-actions-switcher\" icon=\"ellipsis-v\" />\n-\n-            <Dropdown\n-              id={dropdownId}\n-              className=\"m-reply__top-actions-menu\"\n-              alignRight\n-              isMenu\n-              closeOnClick=\"all\"\n-            >\n-              {renderDraftMessageActionsContainer()}\n-            </Dropdown>\n-          </TopRow>\n-          {parentMessage && (\n-            <div className=\"m-reply__parent\">\n-              <Link to={`#${parentMessage.message_id}`} className=\"m-reply__parent-link\">\n-                <Trans id=\"reply-form.in-reply-to\">In reply to: {excerpt}</Trans>\n-              </Link>\n-            </div>\n-          )}\n-          <BodyRow className=\"m-reply__body\">\n-            <DiscussionTextarea\n-              body={this.state.draft.body}\n-              onChange={this.handleChange}\n+    if ((parentMessage && parentMessage.type === 'email') || (lastMessage && lastMessage.type === 'email')) {","path":"src/frontend/web_application/src/modules/draftMessage/components/ReplyForm/presenter.jsx","position":74,"original_position":74,"commit_id":"55d93ad30b9a6d5f515267c87cc73ddb4a0d5002","original_commit_id":"55d93ad30b9a6d5f515267c87cc73ddb4a0d5002","user":{"login":"iamdey","id":65737,"node_id":"MDQ6VXNlcjY1NzM3","avatar_url":"https://avatars0.githubusercontent.com/u/65737?v=4","gravatar_id":"","url":"https://api.github.com/users/iamdey","html_url":"https://github.com/iamdey","followers_url":"https://api.github.com/users/iamdey/followers","following_url":"https://api.github.com/users/iamdey/following{/other_user}","gists_url":"https://api.github.com/users/iamdey/gists{/gist_id}","starred_url":"https://api.github.com/users/iamdey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamdey/subscriptions","organizations_url":"https://api.github.com/users/iamdey/orgs","repos_url":"https://api.github.com/users/iamdey/repos","events_url":"https://api.github.com/users/iamdey/events{/privacy}","received_events_url":"https://api.github.com/users/iamdey/received_events","type":"User","site_admin":false},"body":"yes :)","created_at":"2018-11-21T14:03:29Z","updated_at":"2018-11-21T14:03:29Z","html_url":"https://github.com/CaliOpen/Caliopen/pull/1093#discussion_r235398437","pull_request_url":"https://api.github.com/repos/CaliOpen/Caliopen/pulls/1093","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/CaliOpen/Caliopen/pulls/comments/235398437"},"html":{"href":"https://github.com/CaliOpen/Caliopen/pull/1093#discussion_r235398437"},"pull_request":{"href":"https://api.github.com/repos/CaliOpen/Caliopen/pulls/1093"}},"in_reply_to_id":235394702},"pull_request":{"url":"https://api.github.com/repos/CaliOpen/Caliopen/pulls/1093","id":232667419,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyNjY3NDE5","html_url":"https://github.com/CaliOpen/Caliopen/pull/1093","diff_url":"https://github.com/CaliOpen/Caliopen/pull/1093.diff","patch_url":"https://github.com/CaliOpen/Caliopen/pull/1093.patch","issue_url":"https://api.github.com/repos/CaliOpen/Caliopen/issues/1093","number":1093,"state":"open","locked":false,"title":"disable reply when twitter DM is parent_message","user":{"login":"iamdey","id":65737,"node_id":"MDQ6VXNlcjY1NzM3","avatar_url":"https://avatars0.githubusercontent.com/u/65737?v=4","gravatar_id":"","url":"https://api.github.com/users/iamdey","html_url":"https://github.com/iamdey","followers_url":"https://api.github.com/users/iamdey/followers","following_url":"https://api.github.com/users/iamdey/following{/other_user}","gists_url":"https://api.github.com/users/iamdey/gists{/gist_id}","starred_url":"https://api.github.com/users/iamdey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamdey/subscriptions","organizations_url":"https://api.github.com/users/iamdey/orgs","repos_url":"https://api.github.com/users/iamdey/repos","events_url":"https://api.github.com/users/iamdey/events{/privacy}","received_events_url":"https://api.github.com/users/iamdey/received_events","type":"User","site_admin":false},"body":"+ fix locale catalog","created_at":"2018-11-21T13:41:04Z","updated_at":"2018-11-21T14:03:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e21d733b9a444b05fa2ab9e6690bb8f57af14a8f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/CaliOpen/Caliopen/pulls/1093/commits","review_comments_url":"https://api.github.com/repos/CaliOpen/Caliopen/pulls/1093/comments","review_comment_url":"https://api.github.com/repos/CaliOpen/Caliopen/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CaliOpen/Caliopen/issues/1093/comments","statuses_url":"https://api.github.com/repos/CaliOpen/Caliopen/statuses/55d93ad30b9a6d5f515267c87cc73ddb4a0d5002","head":{"label":"CaliOpen:feature/frontend/disable_reply_twitter","ref":"feature/frontend/disable_reply_twitter","sha":"55d93ad30b9a6d5f515267c87cc73ddb4a0d5002","user":{"login":"CaliOpen","id":6907275,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5MDcyNzU=","avatar_url":"https://avatars2.githubusercontent.com/u/6907275?v=4","gravatar_id":"","url":"https://api.github.com/users/CaliOpen","html_url":"https://github.com/CaliOpen","followers_url":"https://api.github.com/users/CaliOpen/followers","following_url":"https://api.github.com/users/CaliOpen/following{/other_user}","gists_url":"https://api.github.com/users/CaliOpen/gists{/gist_id}","starred_url":"https://api.github.com/users/CaliOpen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaliOpen/subscriptions","organizations_url":"https://api.github.com/users/CaliOpen/orgs","repos_url":"https://api.github.com/users/CaliOpen/repos","events_url":"https://api.github.com/users/CaliOpen/events{/privacy}","received_events_url":"https://api.github.com/users/CaliOpen/received_events","type":"Organization","site_admin":false},"repo":{"id":53669719,"node_id":"MDEwOlJlcG9zaXRvcnk1MzY2OTcxOQ==","name":"Caliopen","full_name":"CaliOpen/Caliopen","private":false,"owner":{"login":"CaliOpen","id":6907275,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5MDcyNzU=","avatar_url":"https://avatars2.githubusercontent.com/u/6907275?v=4","gravatar_id":"","url":"https://api.github.com/users/CaliOpen","html_url":"https://github.com/CaliOpen","followers_url":"https://api.github.com/users/CaliOpen/followers","following_url":"https://api.github.com/users/CaliOpen/following{/other_user}","gists_url":"https://api.github.com/users/CaliOpen/gists{/gist_id}","starred_url":"https://api.github.com/users/CaliOpen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaliOpen/subscriptions","organizations_url":"https://api.github.com/users/CaliOpen/orgs","repos_url":"https://api.github.com/users/CaliOpen/repos","events_url":"https://api.github.com/users/CaliOpen/events{/privacy}","received_events_url":"https://api.github.com/users/CaliOpen/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/CaliOpen/Caliopen","description":"Entry point for Caliopen messaging platform project","fork":false,"url":"https://api.github.com/repos/CaliOpen/Caliopen","forks_url":"https://api.github.com/repos/CaliOpen/Caliopen/forks","keys_url":"https://api.github.com/repos/CaliOpen/Caliopen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CaliOpen/Caliopen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CaliOpen/Caliopen/teams","hooks_url":"https://api.github.com/repos/CaliOpen/Caliopen/hooks","issue_events_url":"https://api.github.com/repos/CaliOpen/Caliopen/issues/events{/number}","events_url":"https://api.github.com/repos/CaliOpen/Caliopen/events","assignees_url":"https://api.github.com/repos/CaliOpen/Caliopen/assignees{/user}","branches_url":"https://api.github.com/repos/CaliOpen/Caliopen/branches{/branch}","tags_url":"https://api.github.com/repos/CaliOpen/Caliopen/tags","blobs_url":"https://api.github.com/repos/CaliOpen/Caliopen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CaliOpen/Caliopen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CaliOpen/Caliopen/git/refs{/sha}","trees_url":"https://api.github.com/repos/CaliOpen/Caliopen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CaliOpen/Caliopen/statuses/{sha}","languages_url":"https://api.github.com/repos/CaliOpen/Caliopen/languages","stargazers_url":"https://api.github.com/repos/CaliOpen/Caliopen/stargazers","contributors_url":"https://api.github.com/repos/CaliOpen/Caliopen/contributors","subscribers_url":"https://api.github.com/repos/CaliOpen/Caliopen/subscribers","subscription_url":"https://api.github.com/repos/CaliOpen/Caliopen/subscription","commits_url":"https://api.github.com/repos/CaliOpen/Caliopen/commits{/sha}","git_commits_url":"https://api.github.com/repos/CaliOpen/Caliopen/git/commits{/sha}","comments_url":"https://api.github.com/repos/CaliOpen/Caliopen/comments{/number}","issue_comment_url":"https://api.github.com/repos/CaliOpen/Caliopen/issues/comments{/number}","contents_url":"https://api.github.com/repos/CaliOpen/Caliopen/contents/{+path}","compare_url":"https://api.github.com/repos/CaliOpen/Caliopen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CaliOpen/Caliopen/merges","archive_url":"https://api.github.com/repos/CaliOpen/Caliopen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CaliOpen/Caliopen/downloads","issues_url":"https://api.github.com/repos/CaliOpen/Caliopen/issues{/number}","pulls_url":"https://api.github.com/repos/CaliOpen/Caliopen/pulls{/number}","milestones_url":"https://api.github.com/repos/CaliOpen/Caliopen/milestones{/number}","notifications_url":"https://api.github.com/repos/CaliOpen/Caliopen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CaliOpen/Caliopen/labels{/name}","releases_url":"https://api.github.com/repos/CaliOpen/Caliopen/releases{/id}","deployments_url":"https://api.github.com/repos/CaliOpen/Caliopen/deployments","created_at":"2016-03-11T13:42:19Z","updated_at":"2018-11-20T22:47:31Z","pushed_at":"2018-11-21T14:02:44Z","git_url":"git://github.com/CaliOpen/Caliopen.git","ssh_url":"git@github.com:CaliOpen/Caliopen.git","clone_url":"https://github.com/CaliOpen/Caliopen.git","svn_url":"https://github.com/CaliOpen/Caliopen","homepage":null,"size":21835,"stargazers_count":194,"watchers_count":194,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":52,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":17,"open_issues":52,"watchers":194,"default_branch":"master"}},"base":{"label":"CaliOpen:develop","ref":"develop","sha":"c41aec7161708d4b2149ba5cd8eec78749fed63c","user":{"login":"CaliOpen","id":6907275,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5MDcyNzU=","avatar_url":"https://avatars2.githubusercontent.com/u/6907275?v=4","gravatar_id":"","url":"https://api.github.com/users/CaliOpen","html_url":"https://github.com/CaliOpen","followers_url":"https://api.github.com/users/CaliOpen/followers","following_url":"https://api.github.com/users/CaliOpen/following{/other_user}","gists_url":"https://api.github.com/users/CaliOpen/gists{/gist_id}","starred_url":"https://api.github.com/users/CaliOpen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaliOpen/subscriptions","organizations_url":"https://api.github.com/users/CaliOpen/orgs","repos_url":"https://api.github.com/users/CaliOpen/repos","events_url":"https://api.github.com/users/CaliOpen/events{/privacy}","received_events_url":"https://api.github.com/users/CaliOpen/received_events","type":"Organization","site_admin":false},"repo":{"id":53669719,"node_id":"MDEwOlJlcG9zaXRvcnk1MzY2OTcxOQ==","name":"Caliopen","full_name":"CaliOpen/Caliopen","private":false,"owner":{"login":"CaliOpen","id":6907275,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5MDcyNzU=","avatar_url":"https://avatars2.githubusercontent.com/u/6907275?v=4","gravatar_id":"","url":"https://api.github.com/users/CaliOpen","html_url":"https://github.com/CaliOpen","followers_url":"https://api.github.com/users/CaliOpen/followers","following_url":"https://api.github.com/users/CaliOpen/following{/other_user}","gists_url":"https://api.github.com/users/CaliOpen/gists{/gist_id}","starred_url":"https://api.github.com/users/CaliOpen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaliOpen/subscriptions","organizations_url":"https://api.github.com/users/CaliOpen/orgs","repos_url":"https://api.github.com/users/CaliOpen/repos","events_url":"https://api.github.com/users/CaliOpen/events{/privacy}","received_events_url":"https://api.github.com/users/CaliOpen/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/CaliOpen/Caliopen","description":"Entry point for Caliopen messaging platform project","fork":false,"url":"https://api.github.com/repos/CaliOpen/Caliopen","forks_url":"https://api.github.com/repos/CaliOpen/Caliopen/forks","keys_url":"https://api.github.com/repos/CaliOpen/Caliopen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CaliOpen/Caliopen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CaliOpen/Caliopen/teams","hooks_url":"https://api.github.com/repos/CaliOpen/Caliopen/hooks","issue_events_url":"https://api.github.com/repos/CaliOpen/Caliopen/issues/events{/number}","events_url":"https://api.github.com/repos/CaliOpen/Caliopen/events","assignees_url":"https://api.github.com/repos/CaliOpen/Caliopen/assignees{/user}","branches_url":"https://api.github.com/repos/CaliOpen/Caliopen/branches{/branch}","tags_url":"https://api.github.com/repos/CaliOpen/Caliopen/tags","blobs_url":"https://api.github.com/repos/CaliOpen/Caliopen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CaliOpen/Caliopen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CaliOpen/Caliopen/git/refs{/sha}","trees_url":"https://api.github.com/repos/CaliOpen/Caliopen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CaliOpen/Caliopen/statuses/{sha}","languages_url":"https://api.github.com/repos/CaliOpen/Caliopen/languages","stargazers_url":"https://api.github.com/repos/CaliOpen/Caliopen/stargazers","contributors_url":"https://api.github.com/repos/CaliOpen/Caliopen/contributors","subscribers_url":"https://api.github.com/repos/CaliOpen/Caliopen/subscribers","subscription_url":"https://api.github.com/repos/CaliOpen/Caliopen/subscription","commits_url":"https://api.github.com/repos/CaliOpen/Caliopen/commits{/sha}","git_commits_url":"https://api.github.com/repos/CaliOpen/Caliopen/git/commits{/sha}","comments_url":"https://api.github.com/repos/CaliOpen/Caliopen/comments{/number}","issue_comment_url":"https://api.github.com/repos/CaliOpen/Caliopen/issues/comments{/number}","contents_url":"https://api.github.com/repos/CaliOpen/Caliopen/contents/{+path}","compare_url":"https://api.github.com/repos/CaliOpen/Caliopen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CaliOpen/Caliopen/merges","archive_url":"https://api.github.com/repos/CaliOpen/Caliopen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CaliOpen/Caliopen/downloads","issues_url":"https://api.github.com/repos/CaliOpen/Caliopen/issues{/number}","pulls_url":"https://api.github.com/repos/CaliOpen/Caliopen/pulls{/number}","milestones_url":"https://api.github.com/repos/CaliOpen/Caliopen/milestones{/number}","notifications_url":"https://api.github.com/repos/CaliOpen/Caliopen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CaliOpen/Caliopen/labels{/name}","releases_url":"https://api.github.com/repos/CaliOpen/Caliopen/releases{/id}","deployments_url":"https://api.github.com/repos/CaliOpen/Caliopen/deployments","created_at":"2016-03-11T13:42:19Z","updated_at":"2018-11-20T22:47:31Z","pushed_at":"2018-11-21T14:02:44Z","git_url":"git://github.com/CaliOpen/Caliopen.git","ssh_url":"git@github.com:CaliOpen/Caliopen.git","clone_url":"https://github.com/CaliOpen/Caliopen.git","svn_url":"https://github.com/CaliOpen/Caliopen","homepage":null,"size":21835,"stargazers_count":194,"watchers_count":194,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":52,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":17,"open_issues":52,"watchers":194,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CaliOpen/Caliopen/pulls/1093"},"html":{"href":"https://github.com/CaliOpen/Caliopen/pull/1093"},"issue":{"href":"https://api.github.com/repos/CaliOpen/Caliopen/issues/1093"},"comments":{"href":"https://api.github.com/repos/CaliOpen/Caliopen/issues/1093/comments"},"review_comments":{"href":"https://api.github.com/repos/CaliOpen/Caliopen/pulls/1093/comments"},"review_comment":{"href":"https://api.github.com/repos/CaliOpen/Caliopen/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CaliOpen/Caliopen/pulls/1093/commits"},"statuses":{"href":"https://api.github.com/repos/CaliOpen/Caliopen/statuses/55d93ad30b9a6d5f515267c87cc73ddb4a0d5002"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"iamdey"}}