Browse Source

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

master
Lyubo Marinov 7 years ago
parent
commit
037e7f59b0
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      react/features/recent-list/functions.js

+ 1
- 1
react/features/recent-list/functions.js View File

@@ -50,7 +50,7 @@ export function getRecentRooms(list: Array<Object>): Array<Object> {
50 50
 
51 51
             if (uri && uri.room && uri.hostname) {
52 52
                 const duration
53
-                    = e.duration || /* legacy */ e.conferenceDuration;
53
+                    = e.duration || /* legacy */ e.conferenceDuration || 0;
54 54
 
55 55
                 recentRoomDS.push({
56 56
                     baseURL: `${uri.protocol}//${uri.host}`,

Loading…
Cancel
Save