Browse Source

fix(calendar): Remove logs with invalid calendar items.

master
Hristo Terezov 6 years ago
parent
commit
4575e7e119
1 changed files with 1 additions and 9 deletions
  1. 1
    9
      react/features/calendar-sync/functions.any.js

+ 1
- 9
react/features/calendar-sync/functions.any.js View File

6
 import { APP_LINK_SCHEME, parseURIString } from '../base/util';
6
 import { APP_LINK_SCHEME, parseURIString } from '../base/util';
7
 import { MAX_LIST_LENGTH } from './constants';
7
 import { MAX_LIST_LENGTH } from './constants';
8
 
8
 
9
-const logger = require('jitsi-meet-logger').getLogger(__filename);
10
 const ALLDAY_EVENT_LENGTH = 23 * 60 * 60 * 1000;
9
 const ALLDAY_EVENT_LENGTH = 23 * 60 * 60 * 1000;
11
 
10
 
12
 /**
11
 /**
143
             || (navigator.product !== 'ReactNative'
142
             || (navigator.product !== 'ReactNative'
144
                     && !url
143
                     && !url
145
                     && !event.calendarId)) {
144
                     && !event.calendarId)) {
146
-            logger.debug(
147
-                'Skipping invalid calendar event',
148
-                event.title,
149
-                event.startDate,
150
-                event.endDate,
151
-                url,
152
-                event.calendarId
153
-            );
145
+            // Ignore the event.
154
         } else {
146
         } else {
155
             return {
147
             return {
156
                 allDay: event.allDay,
148
                 allDay: event.allDay,

Loading…
Cancel
Save