Compare commits

...

2 Commits

Author SHA1 Message Date
Saúl Ibarra Corretgé
aa801b6d09 debian: fix postinst command 2020-06-23 17:15:15 +02:00
damencho
701d34248b fix: Fixes showing cc button when jwt is not used.
Fixes #7093.
2020-06-23 08:31:37 -05:00
2 changed files with 3 additions and 3 deletions

View File

@@ -98,7 +98,7 @@ case "$1" in
-reqexts SAN \
-extensions SAN \
-config <(cat /etc/ssl/openssl.cnf \
<(printf '[SAN]\nsubjectAltName=DNS:localhost,DNS:$JVB_HOSTNAME,IP:$JVB_HOSTNAME')) \
<(printf '[SAN]\nsubjectAltName=DNS:localhost,DNS:$JVB_HOSTNAME,IP:$JVB_HOSTNAME'))
fi
fi

View File

@@ -1,6 +1,7 @@
// @flow
import { createToolbarEvent, sendAnalytics } from '../../analytics';
import { isLocalParticipantModerator } from '../../base/participants';
import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox';
import { toggleRequestingSubtitles } from '../actions';
@@ -83,9 +84,8 @@ export class AbstractClosedCaptionButton
*/
export function _abstractMapStateToProps(state: Object, ownProps: Object) {
const { _requestingSubtitles } = state['features/subtitles'];
const { isGuest = true } = state['features/base/jwt'];
const { transcribingEnabled } = state['features/base/config'];
const { visible = Boolean(transcribingEnabled && !isGuest) } = ownProps;
const { visible = Boolean(transcribingEnabled && isLocalParticipantModerator(state)) } = ownProps;
return {
_requestingSubtitles,