|
@@ -32,7 +32,8 @@ class ClosedCaptionButton
|
32
|
32
|
*/
|
33
|
33
|
export function mapStateToProps(state: Object, ownProps: Object) {
|
34
|
34
|
const { transcribingEnabled } = state['features/base/config'];
|
35
|
|
- const enabled = getFeatureFlag(state, CLOSE_CAPTIONS_ENABLED, true) && transcribingEnabled;
|
|
35
|
+ const { isGuest = true } = state['features/base/jwt'];
|
|
36
|
+ const enabled = getFeatureFlag(state, CLOSE_CAPTIONS_ENABLED, true) && transcribingEnabled && !isGuest;
|
36
|
37
|
const { visible = enabled } = ownProps;
|
37
|
38
|
|
38
|
39
|
return {
|