Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

calendar-sync: fix loading calendar entries

Saúl Ibarra Corretgéca11cbf6cc1f
diff --git a/react/features/calendar-sync/reducer.js b/react/features/calendar-sync/reducer.js
index 5b06eb2260..47c1a4eaaa 100644
--- a/react/features/calendar-sync/reducer.js
+++ b/react/features/calendar-sync/reducer.js
@@ -13,7 +13,6 @@ import {
SET_CALENDAR_PROFILE_EMAIL,
SET_LOADING_CALENDAR_EVENTS
} from './actionTypes';
-import { isCalendarEnabled } from './functions';
/**
* The default state of the calendar feature.
@@ -50,10 +49,6 @@ PersistenceRegistry.register(STORE_NAME, {
});
ReducerRegistry.register(STORE_NAME, (state = DEFAULT_STATE, action) => {
- if (!isCalendarEnabled(state)) {
- return state;
- }
-
switch (action.type) {
case CLEAR_CALENDAR_INTEGRATION:
return DEFAULT_STATE;