Skip to content
Snippets Groups Projects
Commit 4097ec34 authored by Tom Käsler's avatar Tom Käsler
Browse files

fix comment stream destination

parent b2855ecf
4 merge requests!171SWTP Comment Project,!170Fix linter in pipe,!169WebSocket Connector,!168Filter comment list
...@@ -29,7 +29,7 @@ export class CommentListComponent implements OnInit { ...@@ -29,7 +29,7 @@ export class CommentListComponent implements OnInit {
this.roomId = localStorage.getItem(`roomId`); this.roomId = localStorage.getItem(`roomId`);
this.comments = []; this.comments = [];
this.hideCommentsList = false; this.hideCommentsList = false;
this.rxStompService.watch(`/queue/${this.roomId}.comment.stream`).subscribe((message: Message) => { this.rxStompService.watch(`/topic/${this.roomId}.comment.stream`).subscribe((message: Message) => {
this.parseIncomingMessage(message); this.parseIncomingMessage(message);
}); });
this.getComments(); this.getComments();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment