[RN] Fix a TypeError when invoking humanize() on undefined
This commit is contained in:
parent
df754f4f41
commit
037e7f59b0
|
@ -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}`,
|
||||
|
|
Loading…
Reference in New Issue