Fixes loading recent lists on wrong meeting name stored.
decodeURIComponent is not needed any more and after adding a validation such meeting name should not happen to be stored.
This commit is contained in:
parent
3e1a008399
commit
a4cbbccb2a
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
};
|
||||
}));
|
||||
|
|
Loading…
Reference in New Issue