|
@@ -7,6 +7,7 @@ import type { Dispatch } from 'redux';
|
7
|
7
|
import { createWelcomePageEvent, sendAnalytics } from '../../analytics';
|
8
|
8
|
import { appNavigate } from '../../app';
|
9
|
9
|
import { isCalendarEnabled } from '../../calendar-sync';
|
|
10
|
+import { isRecentListEnabled } from '../../recent-list/functions';
|
10
|
11
|
|
11
|
12
|
/**
|
12
|
13
|
* {@code AbstractWelcomePage}'s React {@code Component} prop types.
|
|
@@ -18,6 +19,11 @@ type Props = {
|
18
|
19
|
*/
|
19
|
20
|
_calendarEnabled: boolean,
|
20
|
21
|
|
|
22
|
+ /**
|
|
23
|
+ * Whether the recent list is enabled
|
|
24
|
+ */
|
|
25
|
+ _recentListEnabled: Boolean,
|
|
26
|
+
|
21
|
27
|
/**
|
22
|
28
|
* Room name to join to.
|
23
|
29
|
*/
|
|
@@ -239,6 +245,7 @@ export class AbstractWelcomePage extends Component<Props, *> {
|
239
|
245
|
export function _mapStateToProps(state: Object) {
|
240
|
246
|
return {
|
241
|
247
|
_calendarEnabled: isCalendarEnabled(state),
|
|
248
|
+ _recentListEnabled: isRecentListEnabled(),
|
242
|
249
|
_room: state['features/base/conference'].room,
|
243
|
250
|
_settings: state['features/base/settings']
|
244
|
251
|
};
|