From f4f0fa46e72529f7aea0b6f2fbeca5ad5d162c6f Mon Sep 17 00:00:00 2001
From: mohammad <mohammad.alayoub@mni.thm.de>
Date: Mon, 28 Jun 2021 14:36:43 +0200
Subject: [PATCH] Remove comments

---
 .../question-wall/question-wall.component.ts      | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/src/app/components/shared/questionwall/question-wall/question-wall.component.ts b/src/app/components/shared/questionwall/question-wall/question-wall.component.ts
index 9b4cfbcee..f4f925129 100644
--- a/src/app/components/shared/questionwall/question-wall/question-wall.component.ts
+++ b/src/app/components/shared/questionwall/question-wall/question-wall.component.ts
@@ -101,21 +101,6 @@ export class QuestionWallComponent implements OnInit, AfterViewInit, OnDestroy {
       this.room = e;
       this.tags = e.tags;
     });
-
-    // this.wsCommentService.getCommentStream(this.roomId).subscribe(e => {
-    //   this.commentService.getComment(JSON.parse(e.body).payload.id).subscribe(comment => {
-    //     this.notUndefined(this.comments.find(f => f.comment.id === comment.id), qwComment => {
-    //       qwComment.comment = comment;
-    //       this.roomDataService.checkProfanity(comment);
-    //     }, () => {
-    //       this.wrap(this.pushIncommingComment(comment), qwComment => {
-    //         if (this.focusIncommingComments) {
-    //           setTimeout(() => this.focusComment(qwComment), 5);
-    //         }
-    //       });
-    //     });
-    //   });
-    // });
     this.subscribeCommentStream();
     this.initKeySupport();
   }
-- 
GitLab