Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Fixes loading recent lists on wrong meeting name stored.

damenchoa4cbbccb2a52
diff --git a/react/features/invite/functions.js b/react/features/invite/functions.js
index 41fbd2eb3e..bdfe3e2b8c 100644
--- a/react/features/invite/functions.js
+++ b/react/features/invite/functions.js
@@ -577,5 +577,12 @@ export function _decodeRoomURI(url: string) {
roomUrl = decodeURI(roomUrl);
}
+ // Handles a special case where the room name has % encoded, the decoded will have
+ // % followed by a char (non-digit) which is not a valid URL and room name ... so we do not
+ // want to show this decoded
+ if (roomUrl.match(/.*%[^\d].*/)) {
+ return url;
+ }
+
return roomUrl;
}
diff --git a/react/features/recent-list/functions.web.js b/react/features/recent-list/functions.web.js
index e7e117aaf6..608fc48bc6 100644
--- a/react/features/recent-list/functions.web.js
+++ b/react/features/recent-list/functions.web.js
@@ -18,7 +18,7 @@ export function toDisplayableList(recentList) {
date: item.date,
duration: item.duration,
time: [ item.date ],
- title: decodeURIComponent(parseURIString(item.conference).room),
+ title: parseURIString(item.conference).room,
url: item.conference
};
}));