diff --git a/src/app/components/shared/room-page/room-page.component.ts b/src/app/components/shared/room-page/room-page.component.ts
index 204d71a089e1a7ed80e4de4d0d6d090060326bf6..09ba0a26145da0a45bc94b19d343856cb167bf26 100644
--- a/src/app/components/shared/room-page/room-page.component.ts
+++ b/src/app/components/shared/room-page/room-page.component.ts
@@ -31,7 +31,7 @@ export class RoomPageComponent implements OnInit, OnDestroy {
               protected wsCommentService: WsCommentServiceService,
               protected commentService: CommentService,
               protected eventService: EventService,
-              protected titleService: TitleService
+              protected titleService?: TitleService
   ) {
   }