diff --git a/.gitignore b/.gitignore
index b7a79b2bd..a6630d22e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -56,16 +56,10 @@ plugins/*
!plugins/talk-plugin-sort-newest
!plugins/talk-plugin-sort-oldest
!plugins/talk-plugin-subscriber
-<<<<<<< HEAD
-!plugins/talk-plugin-flag-details
-!plugins/talk-plugin-slack-notifications
-!plugins/talk-plugin-rich-text
-!plugins/talk-plugin-rich-text-pell
-!plugins/talk-plugin-profile-settings
-=======
!plugins/talk-plugin-toxic-comments
!plugins/talk-plugin-viewing-options
->>>>>>> 8d147dbf47104cdcfb8c3bc2ebb02b6c73c7b8ab
+!plugins/talk-plugin-rich-text
+!plugins/talk-plugin-rich-text-pell
**/node_modules/*
yarn-error.log
diff --git a/client/coral-embed-stream/src/tabs/stream/components/Comment.js b/client/coral-embed-stream/src/tabs/stream/components/Comment.js
index acd791ba4..c495b54f9 100644
--- a/client/coral-embed-stream/src/tabs/stream/components/Comment.js
+++ b/client/coral-embed-stream/src/tabs/stream/components/Comment.js
@@ -372,9 +372,12 @@ export default class Comment extends React.Component {
maxCharCount,
notify,
charCountEnable,
+ root,
} = this.props;
return (
- ) : null}
-
-
- {view.map(reply => {
- return (
-
- );
- })}
-
-
-
-
-=======
render() {
const {
depth,
@@ -813,7 +759,6 @@ export default class Comment extends React.Component {
{this.renderComment()}
{activeReplyBox === comment.id && this.renderReplyBox()}
{this.renderRepliesContainer()}
->>>>>>> 8d147dbf47104cdcfb8c3bc2ebb02b6c73c7b8ab
);
}
diff --git a/client/coral-embed-stream/src/tabs/stream/components/EditableCommentContent.js b/client/coral-embed-stream/src/tabs/stream/components/EditableCommentContent.js
index 5917dfc54..5e3e97382 100644
--- a/client/coral-embed-stream/src/tabs/stream/components/EditableCommentContent.js
+++ b/client/coral-embed-stream/src/tabs/stream/components/EditableCommentContent.js
@@ -18,7 +18,7 @@ class EditableCommentContent extends React.Component {
static propTypes = {
// show notification to the user (e.g. for errors)
notify: PropTypes.func.isRequired,
-
+ root: PropTypes.object.isRequired,
// comment that is being edited
comment: PropTypes.shape({
id: PropTypes.string,
@@ -140,6 +140,7 @@ class EditableCommentContent extends React.Component {
return (
>>>>>> 8d147dbf47104cdcfb8c3bc2ebb02b6c73c7b8ab
const incrReplyCount = async (comment, value) => {
try {
@@ -86,11 +81,7 @@ module.exports = {
* @param {String} body the new Comment body
* @param {String} status the new Comment status
*/
-<<<<<<< HEAD
- static async edit({ id, author_id, body, status, metadata = {} }) {
-=======
- edit: async ({ id, author_id, body, status }) => {
->>>>>>> 8d147dbf47104cdcfb8c3bc2ebb02b6c73c7b8ab
+ edit: async ({ id, author_id, body, status, metadata = {} }) => {
const EDITABLE_STATUSES = ['NONE', 'PREMOD', 'ACCEPTED'];
const created_at = new Date();
@@ -177,13 +168,8 @@ module.exports = {
created_at,
});
-<<<<<<< HEAD
editedComment.metadata = metadata;
- await events.emitAsync(COMMENTS_EDIT, originalComment, editedComment);
-
-=======
->>>>>>> 8d147dbf47104cdcfb8c3bc2ebb02b6c73c7b8ab
return editedComment;
},