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
Branches
Tags
No related merge requests found
...@@ -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