Skip to content
Snippets Groups Projects
Commit 2082dab3 authored by Lukas Mauß's avatar Lukas Mauß
Browse files

Send user data and date to api when joining a room

parent 1df2b9e0
1 merge request!96Resolve "comment creation api"
Pipeline #13537 passed with stage
in 33 seconds
...@@ -44,6 +44,7 @@ export class JoinRoomComponent implements OnInit { ...@@ -44,6 +44,7 @@ export class JoinRoomComponent implements OnInit {
if (!room) { if (!room) {
this.notificationService.show(`No room was found with id: ${id}`); this.notificationService.show(`No room was found with id: ${id}`);
} else { } else {
this.roomService.addToHistory(this.room.id);
this.router.navigate([`/participant/room/${this.room.shortId}`]); this.router.navigate([`/participant/room/${this.room.shortId}`]);
} }
}); });
......
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