瀏覽代碼

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

master
Hristo Terezov 6 年之前
父節點
當前提交
4575e7e119
共有 1 個檔案被更改,包括 1 行新增9 行删除
  1. 1
    9
      react/features/calendar-sync/functions.any.js

+ 1
- 9
react/features/calendar-sync/functions.any.js 查看文件

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…
取消
儲存