Skip to content

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

[RN] Fix a TypeError when invoking humanize() on undefined

Lyubo Marinov037e7f59b07d
diff --git a/react/features/recent-list/functions.js b/react/features/recent-list/functions.js
index bc0adb1be0..876c751dff 100644
--- a/react/features/recent-list/functions.js
+++ b/react/features/recent-list/functions.js
@@ -50,7 +50,7 @@ export function getRecentRooms(list: Array<Object>): Array<Object> {
if (uri && uri.room && uri.hostname) {
const duration
- = e.duration || /* legacy */ e.conferenceDuration;
+ = e.duration || /* legacy */ e.conferenceDuration || 0;
recentRoomDS.push({
baseURL: `${uri.protocol}//${uri.host}`,