From 4575e7e1193b84cd6f64d12eb1e13f00b5c04505 Mon Sep 17 00:00:00 2001 From: Hristo Terezov Date: Tue, 15 Jan 2019 14:42:43 +0000 Subject: [PATCH] fix(calendar): Remove logs with invalid calendar items. --- react/features/calendar-sync/functions.any.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/react/features/calendar-sync/functions.any.js b/react/features/calendar-sync/functions.any.js index fd8fbe298f..b9bce828ea 100644 --- a/react/features/calendar-sync/functions.any.js +++ b/react/features/calendar-sync/functions.any.js @@ -6,7 +6,6 @@ import { setCalendarEvents } from './actions'; import { APP_LINK_SCHEME, parseURIString } from '../base/util'; import { MAX_LIST_LENGTH } from './constants'; -const logger = require('jitsi-meet-logger').getLogger(__filename); const ALLDAY_EVENT_LENGTH = 23 * 60 * 60 * 1000; /** @@ -143,14 +142,7 @@ function _parseCalendarEntry(event, knownDomains) { || (navigator.product !== 'ReactNative' && !url && !event.calendarId)) { - logger.debug( - 'Skipping invalid calendar event', - event.title, - event.startDate, - event.endDate, - url, - event.calendarId - ); + // Ignore the event. } else { return { allDay: event.allDay,