Skip to content

Commit beaeb93

Browse files
committed
fix: remove slug
1 parent 91a9c2c commit beaeb93

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/main/java/com/iemr/common/service/videocall/VideoCallServiceImpl.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,9 @@ public String resolveMeetingLink(String slug) throws Exception {
180180
throw new IllegalArgumentException("Meeting slug is required");
181181
}
182182

183+
// SMS clients sometimes include trailing punctuation when linkifying URLs
184+
slug = slug.replaceAll("[.,:;!?]+$", "");
185+
183186
String shortLink = jitsiLink + "m=" + slug;
184187
VideoCallParameters params = videoCallRepository.findByMeetingLink(shortLink);
185188

0 commit comments

Comments
 (0)