Skip to content

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

fix: store only "clean" URLs in recent-list (#13489)

D1eterba2640746937
diff --git a/react/features/recent-list/reducer.ts b/react/features/recent-list/reducer.ts
index c274d051c0..1bdc96ad5b 100644
--- a/react/features/recent-list/reducer.ts
+++ b/react/features/recent-list/reducer.ts
@@ -82,7 +82,7 @@ function _deleteRecentListEntry(
* @returns {Object}
*/
function _storeCurrentConference(state: IRecentListState, { locationURL }: { locationURL: { href: string; }; }) {
- const conference = locationURL.href;
+ const conference = getURLWithoutParamsNormalized(new URL(locationURL.href));
// If the current conference is already in the list, we remove it to re-add
// it to the top.