diff --git a/src/main/java/nl/tudelft/ewi/queue/model/Request.java b/src/main/java/nl/tudelft/ewi/queue/model/Request.java index 47f98a5a6715496c8e5fcf453a6eb364ff0760e2..8c1bfc490134649014a0027fecc250de30519586 100644 --- a/src/main/java/nl/tudelft/ewi/queue/model/Request.java +++ b/src/main/java/nl/tudelft/ewi/queue/model/Request.java @@ -229,7 +229,7 @@ public class Request implements RecordsEvents<Request>, Serializable, Comparable * Creates a name for a Jitsi room based on the name of the RequestEntity and the date. */ public void setJitsiRoom() { - this.jitsiRoom = this.getRequestEntity().getDisplayName().replaceAll("\\s+", "") + + this.jitsiRoom = this.getRequestEntity().getDisplayName().replaceAll("[^a-zA-Z0-9]", "") + LocalDateTime.now().format(DateTimeFormatter.ofPattern("ddmmHHMMss")); }