diff --git a/src/app/join-room/join-room.component.ts b/src/app/join-room/join-room.component.ts
index 660e686eee313720ffca660deda2ba5c8b8330f5..de2959765224b572db8599dcce2b60be73ee9645 100644
--- a/src/app/join-room/join-room.component.ts
+++ b/src/app/join-room/join-room.component.ts
@@ -44,6 +44,7 @@ export class JoinRoomComponent implements OnInit {
         if (!room) {
           this.notificationService.show(`No room was found with id: ${id}`);
         } else {
+          this.roomService.addToHistory(this.room.id);
           this.router.navigate([`/participant/room/${this.room.shortId}`]);
         }
       });