fix(misc) fix typos

Found via `codespell -q 3 -S ./lang -L miliseconds`
This commit is contained in:
luzpaz 2022-07-14 03:10:08 -04:00 committed by GitHub
parent 29669d88dc
commit c7f96de787
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
54 changed files with 76 additions and 76 deletions

View File

@ -3070,7 +3070,7 @@ export default {
/** /**
* Leaves the room. * Leaves the room.
* *
* @param {boolean} doDisconnect - Wether leaving the room should also terminate the connection. * @param {boolean} doDisconnect - Whether leaving the room should also terminate the connection.
* @returns {Promise} * @returns {Promise}
*/ */
async leaveRoom(doDisconnect = true) { async leaveRoom(doDisconnect = true) {

View File

@ -613,7 +613,7 @@ var config = {
// }, // },
// When 'true', the user cannot edit the display name. // When 'true', the user cannot edit the display name.
// (Mainly useful when used in conjuction with the JWT so the JWT name becomes read only.) // (Mainly useful when used in conjunction with the JWT so the JWT name becomes read only.)
// readOnlyName: false, // readOnlyName: false,
// If etherpad integration is enabled, setting this to true will // If etherpad integration is enabled, setting this to true will
@ -1028,7 +1028,7 @@ var config = {
// maxConferenceSize: 200, // maxConferenceSize: 200,
// //
// // The maximum number of e2e ping messages per second for the whole conference to aim for. // // The maximum number of e2e ping messages per second for the whole conference to aim for.
// // This is used to contol the pacing of messages in order to reduce the load on the backend. // // This is used to control the pacing of messages in order to reduce the load on the backend.
// maxMessagesPerSecond: 250 // maxMessagesPerSecond: 250
// }, // },

View File

@ -88,7 +88,7 @@ ol.poll-result-list {
margin-bottom: 4; margin-bottom: 4;
} }
// Needeed to override atlaskit default blue color // Needed to override atlaskit default blue color
.poll-create-container .jsYMHu { .poll-create-container .jsYMHu {
background: #292929; background: #292929;
border-color: #808090; border-color: #808090;

View File

@ -112,7 +112,7 @@
} }
/** /**
* Remove unnecssary padding that is normally used to prevent horizontal * Remove unnecessary padding that is normally used to prevent horizontal
* filmstrip from overlapping the left edge of the screen. * filmstrip from overlapping the left edge of the screen.
*/ */
#filmstripLocalVideo, #filmstripLocalVideo,

View File

@ -474,11 +474,11 @@ function initCommands() {
* @param { string } arg.mode - Recording mode, either `file` or `stream`. * @param { string } arg.mode - Recording mode, either `file` or `stream`.
* @param { string } arg.dropboxToken - Dropbox oauth2 token. * @param { string } arg.dropboxToken - Dropbox oauth2 token.
* @param { string } arg.rtmpStreamKey - The RTMP stream key. * @param { string } arg.rtmpStreamKey - The RTMP stream key.
* @param { string } arg.rtmpBroadcastID - The RTMP braodcast ID. * @param { string } arg.rtmpBroadcastID - The RTMP broadcast ID.
* @param { boolean } arg.shouldShare - Whether the recording should be shared with the participants or not. * @param { boolean } arg.shouldShare - Whether the recording should be shared with the participants or not.
* Only applies to certain jitsi meet deploys. * Only applies to certain jitsi meet deploys.
* @param { string } arg.youtubeStreamKey - The youtube stream key. * @param { string } arg.youtubeStreamKey - The youtube stream key.
* @param { string } arg.youtubeBroadcastID - The youtube broacast ID. * @param { string } arg.youtubeBroadcastID - The youtube broadcast ID.
* @returns {void} * @returns {void}
*/ */
'start-recording': ({ 'start-recording': ({
@ -1642,7 +1642,7 @@ class API {
} }
/** /**
* Notify external application (if API is enabled) that an error occured. * Notify external application (if API is enabled) that an error occurred.
* *
* @param {Object} error - The error. * @param {Object} error - The error.
* @returns {void} * @returns {void}
@ -1670,7 +1670,7 @@ class API {
} }
/** /**
* Notify external application (if API is enabled) wether the used browser is supported or not. * Notify external application (if API is enabled) whether the used browser is supported or not.
* *
* @param {boolean} supported - If browser is supported or not. * @param {boolean} supported - If browser is supported or not.
* @returns {void} * @returns {void}
@ -1698,7 +1698,7 @@ class API {
/** /**
* Notify the external application that the state of the participants pane changed. * Notify the external application that the state of the participants pane changed.
* *
* @param {boolean} open - Wether the panel is open or not. * @param {boolean} open - Whether the panel is open or not.
* @returns {void} * @returns {void}
*/ */
notifyParticipantsPaneToggled(open) { notifyParticipantsPaneToggled(open) {

View File

@ -1000,7 +1000,7 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
} }
/** /**
* Returns wether meeting is started silent. * Returns whether meeting is started silent.
* *
* @returns {Promise} - Resolves with start silent status. * @returns {Promise} - Resolves with start silent status.
*/ */
@ -1242,9 +1242,9 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
* @param { boolean } options.shouldShare - Whether the recording should be shared with the participants or not. * @param { boolean } options.shouldShare - Whether the recording should be shared with the participants or not.
* Only applies to certain jitsi meet deploys. * Only applies to certain jitsi meet deploys.
* @param { string } options.rtmpStreamKey - The RTMP stream key. * @param { string } options.rtmpStreamKey - The RTMP stream key.
* @param { string } options.rtmpBroadcastID - The RTMP broacast ID. * @param { string } options.rtmpBroadcastID - The RTMP broadcast ID.
* @param { string } options.youtubeStreamKey - The youtube stream key. * @param { string } options.youtubeStreamKey - The youtube stream key.
* @param { string } options.youtubeBroadcastID - The youtube broacast ID. * @param { string } options.youtubeBroadcastID - The youtube broadcast ID.
* @returns {void} * @returns {void}
*/ */
startRecording(options) { startRecording(options) {

View File

@ -690,7 +690,7 @@ export function createStartSilentEvent() {
/** /**
* Creates an event which indicates that HTMLAudioElement.play has failed. * Creates an event which indicates that HTMLAudioElement.play has failed.
* *
* @param {sting} elementID - The ID of the HTMLAudioElement. * @param {string} elementID - The ID of the HTMLAudioElement.
* @returns {Object} The event in a format suitable for sending via sendAnalytics. * @returns {Object} The event in a format suitable for sending via sendAnalytics.
*/ */
export function createAudioPlayErrorEvent(elementID) { export function createAudioPlayErrorEvent(elementID) {
@ -703,9 +703,9 @@ export function createAudioPlayErrorEvent(elementID) {
} }
/** /**
* Creates an event which indicates that HTMLAudioElement.play has succeded after a prior failure. * Creates an event which indicates that HTMLAudioElement.play has succeeded after a prior failure.
* *
* @param {sting} elementID - The ID of the HTMLAudioElement. * @param {string} elementID - The ID of the HTMLAudioElement.
* @returns {Object} The event in a format suitable for sending via sendAnalytics. * @returns {Object} The event in a format suitable for sending via sendAnalytics.
*/ */
export function createAudioPlaySuccessEvent(elementID) { export function createAudioPlaySuccessEvent(elementID) {

View File

@ -107,7 +107,7 @@ export const isParticipantPending = (participant: Object, mediaType: MediaType)
/** /**
* Selector which returns a list with all the participants asking to audio unmute. * Selector which returns a list with all the participants asking to audio unmute.
* This is visible ony for the moderator. * This is visible only for the moderator.
* *
* @param {Object} state - The global state. * @param {Object} state - The global state.
* @returns {Array<Object>} * @returns {Array<Object>}

View File

@ -21,7 +21,7 @@ const splitter = new GraphemeSplitter();
* Generates the background color of an initials based avatar. * Generates the background color of an initials based avatar.
* *
* @param {string?} initials - The initials of the avatar. * @param {string?} initials - The initials of the avatar.
* @param {Array<strig>} customAvatarBackgrounds - Custom avatar background values. * @param {Array<string>} customAvatarBackgrounds - Custom avatar background values.
* @returns {string} * @returns {string}
*/ */
export function getAvatarColor(initials: ?string, customAvatarBackgrounds: Array<string>) { export function getAvatarColor(initials: ?string, customAvatarBackgrounds: Array<string>) {

View File

@ -13,7 +13,7 @@ import { ADD_KNOWN_DOMAINS } from './actionTypes';
* read the information out of the app's manifests: App Store strips the * read the information out of the app's manifests: App Store strips the
* associated domains manifest out of the app so it's never downloaded on the * associated domains manifest out of the app so it's never downloaded on the
* client and we did not spend a lot of effort to read the associated domains * client and we did not spend a lot of effort to read the associated domains
* out of the Andorid manifest. * out of the Android manifest.
*/ */
export const DEFAULT_STATE = [ export const DEFAULT_STATE = [
'alpha.jitsi.net', 'alpha.jitsi.net',

View File

@ -24,7 +24,7 @@ export function getLastNForQualityLevel(qualityLevel, channelLastN) {
} }
/** /**
* Checks if the given Object is a correct last N limit mapping, coverts both keys and values to numbers and sorts * Checks if the given Object is a correct last N limit mapping, converts both keys and values to numbers and sorts
* the keys in ascending order. * the keys in ascending order.
* *
* @param {Object} lastNLimits - The Object to be verified. * @param {Object} lastNLimits - The Object to be verified.

View File

@ -637,7 +637,7 @@ class VideoTransform extends Component<Props, State> {
/** /**
* Function to decide whether the responder should respond to a start * Function to decide whether the responder should respond to a start
* (thouch) event. * (touch) event.
* *
* @private * @private
* @returns {boolean} * @returns {boolean}

View File

@ -116,7 +116,7 @@ export function isVideoMutedByUser(stateful: Function | Object) {
* @param {boolean} waitForVideoStarted - True if the specified videoTrack * @param {boolean} waitForVideoStarted - True if the specified videoTrack
* should be rendered only after its associated video has started; * should be rendered only after its associated video has started;
* otherwise, false. * otherwise, false.
* @returns {boolean} True if the specified videoTrack should be renderd; * @returns {boolean} True if the specified videoTrack should be rendered;
* otherwise, false. * otherwise, false.
*/ */
export function shouldRenderVideoTrack( export function shouldRenderVideoTrack(

View File

@ -9,7 +9,7 @@ import { isIconUrl } from './functions';
* @param {string | Object} src - Source of the avatar. * @param {string | Object} src - Source of the avatar.
* @param {boolean} useCORS - Whether to use CORS or not. * @param {boolean} useCORS - Whether to use CORS or not.
* @param {boolean} tryOnce - If true we try to load the image only using the specified CORS mode. Otherwise both modes * @param {boolean} tryOnce - If true we try to load the image only using the specified CORS mode. Otherwise both modes
* (CORS and no CORS) will be used to load the image if the first atempt fails. * (CORS and no CORS) will be used to load the image if the first attempt fails.
* @returns {Promise} * @returns {Promise}
*/ */
export function preloadImage( export function preloadImage(

View File

@ -445,7 +445,7 @@ function _getDisplayName(state: Object, name: string): string {
} }
/** /**
* Loops trough the participants in the state in order to check if all participants are moderators. * Loops through the participants in the state in order to check if all participants are moderators.
* *
* @param {Object} state - The local participant redux state. * @param {Object} state - The local participant redux state.
* @returns {boolean} * @returns {boolean}

View File

@ -302,7 +302,7 @@ export function showNoDataFromSourceVideoError(jitsiTrack) {
* *
* @param {boolean} enabled - The state to toggle screen sharing to. * @param {boolean} enabled - The state to toggle screen sharing to.
* @param {boolean} audioOnly - Only share system audio. * @param {boolean} audioOnly - Only share system audio.
* @param {boolean} ignoreDidHaveVideo - Wether or not to ignore if video was on when sharing started. * @param {boolean} ignoreDidHaveVideo - Whether or not to ignore if video was on when sharing started.
* @returns {{ * @returns {{
* type: TOGGLE_SCREENSHARING, * type: TOGGLE_SCREENSHARING,
* on: boolean, * on: boolean,
@ -758,7 +758,7 @@ function _trackCreateCanceled(mediaType) {
} }
/** /**
* If thee local track if of type Desktop, it calls _disposeAndRemoveTracks) on it. * If the local track if of type Desktop, it calls _disposeAndRemoveTracks) on it.
* *
* @returns {Function} * @returns {Function}
*/ */

View File

@ -19,7 +19,7 @@ export type Props = {
_onRemovePrivateMessageRecipient: Function, _onRemovePrivateMessageRecipient: Function,
/** /**
* Function to make the lobby message receipient inactive. * Function to make the lobby message recipient inactive.
*/ */
_onHideLobbyChatRecipient: Function, _onHideLobbyChatRecipient: Function,

View File

@ -80,7 +80,7 @@ type Props = AbstractProps & {
_connectionIndicatorInactiveDisabled: boolean, _connectionIndicatorInactiveDisabled: boolean,
/** /**
* Wether the indicator popover is disabled. * Whether the indicator popover is disabled.
*/ */
_popoverDisabled: boolean, _popoverDisabled: boolean,

View File

@ -37,7 +37,7 @@ export function isTrackStreamingStatusInterrupted(videoTrack) {
} }
/** /**
* Checks if the passed participant's connecton status is active. * Checks if the passed participant's connection status is active.
* *
* @param {Object} participant - Participant reference. * @param {Object} participant - Participant reference.
* @returns {boolean} - Is connection status active. * @returns {boolean} - Is connection status active.
@ -49,7 +49,7 @@ export function isParticipantConnectionStatusActive(participant) {
} }
/** /**
* Checks if the passed participant's connecton status is inactive. * Checks if the passed participant's connection status is inactive.
* *
* @param {Object} participant - Participant reference. * @param {Object} participant - Participant reference.
* @returns {boolean} - Is connection status inactive. * @returns {boolean} - Is connection status inactive.
@ -61,7 +61,7 @@ export function isParticipantConnectionStatusInactive(participant) {
} }
/** /**
* Checks if the passed participant's connecton status is interrupted. * Checks if the passed participant's connection status is interrupted.
* *
* @param {Object} participant - Participant reference. * @param {Object} participant - Participant reference.
* @returns {boolean} - Is connection status interrupted. * @returns {boolean} - Is connection status interrupted.

View File

@ -44,7 +44,7 @@ export function getDeviceSelectionDialogProps(stateful: Object | Function, isDis
const userSelectedCamera = getUserSelectedCameraDeviceId(state); const userSelectedCamera = getUserSelectedCameraDeviceId(state);
const userSelectedMic = getUserSelectedMicDeviceId(state); const userSelectedMic = getUserSelectedMicDeviceId(state);
// When the previews are disabled we don't need multiple audio input support in order to chage the mic. This is the // When the previews are disabled we don't need multiple audio input support in order to change the mic. This is the
// case for Safari on iOS. // case for Safari on iOS.
let disableAudioInputChange let disableAudioInputChange
= !JitsiMeetJS.mediaDevices.isMultipleAudioInputSupported() && !(disablePreviews && inputDeviceChangeSupported); = !JitsiMeetJS.mediaDevices.isMultipleAudioInputSupported() && !(disablePreviews && inputDeviceChangeSupported);

View File

@ -22,7 +22,7 @@ type Props = {
_render: boolean; _render: boolean;
/** /**
* Whether ot not the name is in a container. * Whether or not the name is in a container.
*/ */
contained?: boolean; contained?: boolean;

View File

@ -23,7 +23,7 @@ export async function _authorizeDropbox(): Promise<Object> {
} }
/** /**
* Gets a new acccess token based on the refresh token. * Gets a new access token based on the refresh token.
* *
* @returns {Promise} * @returns {Promise}
*/ */

View File

@ -71,7 +71,7 @@ export function _authorizeDropbox(
/** /**
* Gets a new acccess token based on the refresh token. * Gets a new access token based on the refresh token.
* *
* @param {string} appKey - The dropbox appKey. * @param {string} appKey - The dropbox appKey.
* @param {string} rToken - The refresh token. * @param {string} rToken - The refresh token.

View File

@ -13,7 +13,7 @@ import { _mapStateToProps, type Props } from './AbstractE2EELabel';
/** /**
* React {@code Component} for displaying a label when everyone has E2EE enabled in a conferene. * React {@code Component} for displaying a label when everyone has E2EE enabled in a conference.
* *
* @augments Component * @augments Component
*/ */

View File

@ -361,7 +361,7 @@ export function clickOnVideo(n: number) {
/** /**
* Sets the volume for a thumbnail's audio. * Sets the volume for a thumbnail's audio.
* *
* @param {string} participantId - The participant ID asociated with the audio. * @param {string} participantId - The participant ID associated with the audio.
* @param {string} volume - The volume level. * @param {string} volume - The volume level.
* @returns {{ * @returns {{
* type: SET_VOLUME, * type: SET_VOLUME,

View File

@ -90,7 +90,7 @@ type Props = {
* The ID of the participant obtain from the participant object in Redux. * The ID of the participant obtain from the participant object in Redux.
* *
* NOTE: Generally it should be the same as the participantID prop except the case where the passed * NOTE: Generally it should be the same as the participantID prop except the case where the passed
* participantID doesn't corespond to any of the existing participants. * participantID doesn't correspond to any of the existing participants.
*/ */
_participantId: string, _participantId: string,

View File

@ -56,7 +56,7 @@ function _mapStateToProps(state) {
// One way to solve the problem would be to pass only the participant ID to the AudioTrack component and // One way to solve the problem would be to pass only the participant ID to the AudioTrack component and
// find the corresponding track inside the AudioTrack's mapStateToProps. But currently this will be very // find the corresponding track inside the AudioTrack's mapStateToProps. But currently this will be very
// inefficient because features/base/tracks is an array and in order to find a track by participant ID // inefficient because features/base/tracks is an array and in order to find a track by participant ID
// we need to go trough the array. Introducing a map participantID -> track could be beneficial in this case. // we need to go through the array. Introducing a map participantID -> track could be beneficial in this case.
return { return {
_tracks: state['features/base/tracks'] _tracks: state['features/base/tracks']
}; };

View File

@ -64,7 +64,7 @@ type Props = {
rowIndex?: number, rowIndex?: number,
/** /**
* The styles comming from react-window. * The styles coming from react-window.
*/ */
style: Object style: Object
}; };

View File

@ -52,7 +52,7 @@ export function shouldRemoteVideosBeVisible(state: Object) {
return false; return false;
} }
// Include fake participants to derive how many thumbnails are dispalyed, // Include fake participants to derive how many thumbnails are displayed,
// as it is assumed all participants, including fake, will be displayed // as it is assumed all participants, including fake, will be displayed
// in the filmstrip. // in the filmstrip.
const participantCount = getParticipantCountWithFake(state); const participantCount = getParticipantCountWithFake(state);

View File

@ -82,7 +82,7 @@ export function shouldRemoteVideosBeVisible(state: Object) {
return false; return false;
} }
// Include fake participants to derive how many thumbnails are dispalyed, // Include fake participants to derive how many thumbnails are displayed,
// as it is assumed all participants, including fake, will be displayed // as it is assumed all participants, including fake, will be displayed
// in the filmstrip. // in the filmstrip.
const participantCount = getParticipantCountWithFake(state); const participantCount = getParticipantCountWithFake(state);
@ -358,7 +358,7 @@ export function calculateResponsiveTileViewDimensions({
&& oldNumberOfVisibleParticipants >= numberOfParticipants) && oldNumberOfVisibleParticipants >= numberOfParticipants)
|| (oldNumberOfVisibleParticipants < numberOfParticipants || (oldNumberOfVisibleParticipants < numberOfParticipants
&& numberOfVisibleParticipants <= desiredNumberOfVisibleTiles)) && numberOfVisibleParticipants <= desiredNumberOfVisibleTiles))
) { // If the area of the new candidates and the old ones are equal we preffer the one that will have ) { // If the area of the new candidates and the old ones are equal we prefer the one that will have
// closer number of visible participants to desiredNumberOfVisibleTiles config. // closer number of visible participants to desiredNumberOfVisibleTiles config.
dimensions = currentDimensions; dimensions = currentDimensions;
} }

View File

@ -15,7 +15,7 @@ MiddlewareRegistry.register(store => next => action => {
if (action.type === PARTICIPANT_LEFT) { if (action.type === PARTICIPANT_LEFT) {
// This have to be executed before we remove the participant from features/base/participants state in order to // This have to be executed before we remove the participant from features/base/participants state in order to
// remove the related thumbnail component before we need to re-render it. If we do this after next() // remove the related thumbnail component before we need to re-render it. If we do this after next()
// we will be in sitation where the participant exists in the remoteParticipants array in features/filmstrip // we will be in situation where the participant exists in the remoteParticipants array in features/filmstrip
// but doesn't exist in features/base/participants state which will lead to rendering a thumbnail for // but doesn't exist in features/base/participants state which will lead to rendering a thumbnail for
// non-existing participant. // non-existing participant.
updateRemoteParticipantsOnLeave(store, action.participant?.id); updateRemoteParticipantsOnLeave(store, action.participant?.id);

View File

@ -67,7 +67,7 @@ MiddlewareRegistry.register(store => next => action => {
if (action.type === PARTICIPANT_LEFT) { if (action.type === PARTICIPANT_LEFT) {
// This has to be executed before we remove the participant from features/base/participants state in order to // This has to be executed before we remove the participant from features/base/participants state in order to
// remove the related thumbnail component before we need to re-render it. If we do this after next() // remove the related thumbnail component before we need to re-render it. If we do this after next()
// we will be in sitation where the participant exists in the remoteParticipants array in features/filmstrip // we will be in situation where the participant exists in the remoteParticipants array in features/filmstrip
// but doesn't exist in features/base/participants state which will lead to rendering a thumbnail for // but doesn't exist in features/base/participants state which will lead to rendering a thumbnail for
// non-existing participant. // non-existing participant.
updateRemoteParticipantsOnLeave(store, action.participant?.id); updateRemoteParticipantsOnLeave(store, action.participant?.id);

View File

@ -87,7 +87,7 @@ type Props = {
* The participant ID. * The participant ID.
* *
* NOTE: This ID may be different from participantID prop in the case when we pass undefined for the local * NOTE: This ID may be different from participantID prop in the case when we pass undefined for the local
* participant. In this case the local participant ID will be filled trough _participantID prop. * participant. In this case the local participant ID will be filled through _participantID prop.
*/ */
_participantID: string, _participantID: string,

View File

@ -53,7 +53,7 @@ ReducerRegistry.register('features/polls', (state = INITIAL_STATE, action) => {
polls: { polls: {
...state.polls, ...state.polls,
// The poll is added to the dictionnary of received polls // The poll is added to the dictionary of received polls
[action.pollId]: action.poll [action.pollId]: action.poll
}, },
nbUnreadPolls: state.nbUnreadPolls + 1 nbUnreadPolls: state.nbUnreadPolls + 1

View File

@ -130,7 +130,7 @@ export function getSessionStatusToShow(state: Object, mode: string): ?string {
/** /**
* Check if local recording is supported. * Check if local recording is supported.
* *
* @returns {boolean} - Wether local recording is supported or not. * @returns {boolean} - Whether local recording is supported or not.
*/ */
export function supportsLocalRecording() { export function supportsLocalRecording() {
return browser.isChromiumBased() && !browser.isElectron() && !isMobileBrowser() return browser.isChromiumBased() && !browser.isElectron() && !isMobileBrowser()

View File

@ -9,7 +9,7 @@ import { keyboardEventToKey } from './keycodes';
import logger from './logger'; import logger from './logger';
/** /**
* Checks if the remote contrrol is enabled. * Checks if the remote control is enabled.
* *
* @param {*} state - The redux state. * @param {*} state - The redux state.
* @returns {boolean} - True if the remote control is enabled and false otherwise. * @returns {boolean} - True if the remote control is enabled and false otherwise.

View File

@ -109,7 +109,7 @@ class RTCStats {
* Send the timestamp of the start of the conference, the data will be processed by the rtcstats-server * Send the timestamp of the start of the conference, the data will be processed by the rtcstats-server
* and saved in the dump file. * and saved in the dump file.
* *
* @param {Oject} timestamp - The object which contains the timestamp. * @param {Object} timestamp - The object which contains the timestamp.
* @returns {void} * @returns {void}
*/ */
sendConferenceTimestamp(timestamp) { sendConferenceTimestamp(timestamp) {

View File

@ -92,7 +92,7 @@ export function startAudioScreenShareFlow() {
return; return;
} }
// We don't want to explicity set the screens share state, by passing undefined we let the // We don't want to explicitly set the screens share state, by passing undefined we let the
// underlying logic decide if it's on or off. // underlying logic decide if it's on or off.
dispatch(toggleScreensharing(undefined, true)); dispatch(toggleScreensharing(undefined, true));
@ -105,7 +105,7 @@ export function startAudioScreenShareFlow() {
/** /**
* Start normal screen sharing flow.Function will switch between off and on states depending on the context, and if * Start normal screen sharing flow.Function will switch between off and on states depending on the context, and if
* not explicity told otherwise. * not explicitly told otherwise.
* *
* @param {boolean} enabled - Explicitly set the screen sharing state. * @param {boolean} enabled - Explicitly set the screen sharing state.
* @returns {void} * @returns {void}

View File

@ -41,7 +41,7 @@ export type Props = {
_conference: Object, _conference: Object,
/** /**
* Warning that indicates an incorect video url. * Warning that indicates an incorrect video url.
*/ */
_displayWarning: Function, _displayWarning: Function,

View File

@ -45,7 +45,7 @@ export const SET_OVERFLOW_DRAWER = 'SET_OVERFLOW_DRAWER';
export const SET_OVERFLOW_MENU_VISIBLE = 'SET_OVERFLOW_MENU_VISIBLE'; export const SET_OVERFLOW_MENU_VISIBLE = 'SET_OVERFLOW_MENU_VISIBLE';
/** /**
* The type of the action which sets the indicator which determiens whether a * The type of the action which sets the indicator which determines whether a
* fToolbar in the Toolbox is hovered. * fToolbar in the Toolbox is hovered.
* *
* { * {

View File

@ -22,7 +22,7 @@ type Props = AbstractButtonProps & {
}; };
/** /**
* Implementation of a button for toggleing the overflow menu. * Implementation of a button for toggling the overflow menu.
*/ */
class OverflowToggleButton extends AbstractButton<Props, *> { class OverflowToggleButton extends AbstractButton<Props, *> {
accessibilityLabel = 'toolbar.accessibilityLabel.moreActions'; accessibilityLabel = 'toolbar.accessibilityLabel.moreActions';

View File

@ -81,7 +81,7 @@ MiddlewareRegistry.register(store => next => action => {
// Update the remoteScreenShares. // Update the remoteScreenShares.
// Because of the debounce in the subscriber which updates the remoteScreenShares we need to handle // Because of the debounce in the subscriber which updates the remoteScreenShares we need to handle
// removal of screen shares separatelly here. Otherwise it is possible to have screen sharing // removal of screen shares separately here. Otherwise it is possible to have screen sharing
// participant that has already left in the remoteScreenShares array. This can lead to rendering // participant that has already left in the remoteScreenShares array. This can lead to rendering
// a thumbnails for already left participants since the remoteScreenShares array is used for // a thumbnails for already left participants since the remoteScreenShares array is used for
// building the ordered list of remote participants. // building the ordered list of remote participants.

View File

@ -4,7 +4,7 @@ import { SHOW_CONNECTION_INFO } from '../base/connection/actionTypes';
export * from './actions.any'; export * from './actions.any';
/** /**
* Sets whether to render the connnection status info into the Popover of the thumbnail or the context menu buttons. * Sets whether to render the connection status info into the Popover of the thumbnail or the context menu buttons.
* *
* @param {boolean} showConnectionInfo - Whether it should show the connection * @param {boolean} showConnectionInfo - Whether it should show the connection
* info or the context menu buttons on thumbnail popover. * info or the context menu buttons on thumbnail popover.

View File

@ -39,7 +39,7 @@ type Props = {
} }
const useStyles = makeStyles(theme => { const useStyles = makeStyles(theme => {
// keep the same hight for all elements: // keep the same height for all elements:
// input, input track & fake track(div) // input, input track & fake track(div)
const height = 6; const height = 6;

View File

@ -8,7 +8,7 @@ import logger from './logger';
/** /**
* Signals the local participant activate the virtual background video or not. * Signals the local participant activate the virtual background video or not.
* *
* @param {Object} options - Represents the virtual background setted options. * @param {Object} options - Represents the virtual background set options.
* @param {Object} jitsiTrack - Represents the jitsi track that will have backgraund effect applied. * @param {Object} jitsiTrack - Represents the jitsi track that will have backgraund effect applied.
* @returns {Promise} * @returns {Promise}
*/ */
@ -38,7 +38,7 @@ export function toggleBackgroundEffect(options: Object, jitsiTrack: Object) {
/** /**
* Sets the selected virtual background image object. * Sets the selected virtual background image object.
* *
* @param {Object} options - Represents the virtual background setted options. * @param {Object} options - Represents the virtual background set options.
* @returns {{ * @returns {{
* type: SET_VIRTUAL_BACKGROUND, * type: SET_VIRTUAL_BACKGROUND,
* virtualSource: string, * virtualSource: string,

View File

@ -330,7 +330,7 @@ function VirtualBackground({
blurValue: 25, blurValue: 25,
selectedThumbnail: 'blur' selectedThumbnail: 'blur'
}); });
logger.info('"Blur" option setted for virtual background preview!'); logger.info('"Blur" option set for virtual background preview!');
}, []); }, []);
@ -348,7 +348,7 @@ function VirtualBackground({
blurValue: 8, blurValue: 8,
selectedThumbnail: 'slight-blur' selectedThumbnail: 'slight-blur'
}); });
logger.info('"Slight-blur" option setted for virtual background preview!'); logger.info('"Slight-blur" option set for virtual background preview!');
}, []); }, []);
@ -413,7 +413,7 @@ function VirtualBackground({
dispatch(openDialog(VirtualBackgroundDialog, { initialOptions: newOptions })); dispatch(openDialog(VirtualBackgroundDialog, { initialOptions: newOptions }));
} else { } else {
setOptions(newOptions); setOptions(newOptions);
logger.info('"Desktop-share" option setted for virtual background preview!'); logger.info('"Desktop-share" option set for virtual background preview!');
} }
}, [ dispatch, options ]); }, [ dispatch, options ]);
@ -429,7 +429,7 @@ function VirtualBackground({
enabled: false, enabled: false,
selectedThumbnail: 'none' selectedThumbnail: 'none'
}); });
logger.info('"None" option setted for virtual background preview!'); logger.info('"None" option set for virtual background preview!');
}, []); }, []);
@ -451,7 +451,7 @@ function VirtualBackground({
url: image.src, url: image.src,
selectedThumbnail: image.id selectedThumbnail: image.id
}); });
logger.info('Uploaded image setted for virtual background preview!'); logger.info('Uploaded image set for virtual background preview!');
} }
}, [ storedImages ]); }, [ storedImages ]);

View File

@ -46,7 +46,7 @@ export type Props = {
loadedPreview: Function, loadedPreview: Function,
/** /**
* Represents the virtual background setted options. * Represents the virtual background set options.
*/ */
options: Object, options: Object,

View File

@ -29,7 +29,7 @@ function init_session(event)
local params = formdecode(query); local params = formdecode(query);
-- The following fields are filled in the session, by extracting them -- The following fields are filled in the session, by extracting them
-- from the query and no validation is beeing done. -- from the query and no validation is being done.
-- After validating auth_token will be cleaned in case of error and few -- After validating auth_token will be cleaned in case of error and few
-- other fields will be extracted from the token and set in the session -- other fields will be extracted from the token and set in the session

View File

@ -465,7 +465,7 @@ function process_breakout_rooms_muc_loaded(breakout_rooms_muc, host_module)
local room = event.room; local room = event.room;
local main_room, main_room_jid = get_main_room(room.jid); local main_room, main_room_jid = get_main_room(room.jid);
-- Breakout room matadata. -- Breakout room metadata.
table.insert(event.form, { table.insert(event.form, {
name = 'muc#roominfo_isbreakout'; name = 'muc#roominfo_isbreakout';
label = 'Is this a breakout room?'; label = 'Is this a breakout room?';
@ -492,7 +492,7 @@ function process_breakout_rooms_muc_loaded(breakout_rooms_muc, host_module)
local room = event.room; local room = event.room;
local _, main_room_jid = get_main_room(room.jid); local _, main_room_jid = get_main_room(room.jid);
-- Breakout room matadata. -- Breakout room metadata.
table.insert(event.form, { table.insert(event.form, {
name = 'muc#roominfo_isbreakout'; name = 'muc#roominfo_isbreakout';
label = 'Is this a breakout room?'; label = 'Is this a breakout room?';

View File

@ -76,7 +76,7 @@ end
--- Handles request for retrieving the room size --- Handles request for retrieving the room size
-- @param event the http event, holds the request query -- @param event the http event, holds the request query
-- @return GET response, containing a json with participants count, -- @return GET response, containing a json with participants count,
-- tha value is without counting the focus. -- the value is without counting the focus.
function handle_get_room_size(event) function handle_get_room_size(event)
if (not event.request.url.query) then if (not event.request.url.query) then
return { status_code = 400; }; return { status_code = 400; };

View File

@ -499,7 +499,7 @@ module:hook("pre-resource-unbind", function (event)
and session.hibernating == hibernate_time then and session.hibernating == hibernate_time then
-- wait longer if the timeout isn't reached because push was enabled for this session -- wait longer if the timeout isn't reached because push was enabled for this session
-- session.first_hibernated_push is the starting point for hibernation timeouts of those push enabled clients -- session.first_hibernated_push is the starting point for hibernation timeouts of those push enabled clients
-- wait for an additional resume_timeout seconds if no push occured since hibernation at all -- wait for an additional resume_timeout seconds if no push occurred since hibernation at all
local current_time = os_time(); local current_time = os_time();
local timeout_start = math_max(session.hibernating, session.first_hibernated_push or session.hibernating); local timeout_start = math_max(session.hibernating, session.first_hibernated_push or session.hibernating);
if session.push_identifier ~= nil and not session.first_hibernated_push then if session.push_identifier ~= nil and not session.first_hibernated_push then

View File

@ -152,8 +152,8 @@ end
-- State for toggling the tagging of presence stanzas with ignored tag. -- State for toggling the tagging of presence stanzas with ignored tag.
-- --
-- A poltergeist with it's full room/nick set to ignore will have a jitsi ignore -- A poltergeist with it's full room/nick set to ignore will have a jitsi ignore
-- tag applied to all presence stanza's broadcasted. The following funcitons -- tag applied to all presence stanza's broadcasted. The following functions
-- assisst in managing this state. -- assist in managing this state.
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
local presence_ignored = {} local presence_ignored = {}

View File

@ -25,7 +25,7 @@ Util.__index = Util
--- Constructs util class for token verifications. --- Constructs util class for token verifications.
-- Constructor that uses the passed module to extract all the -- Constructor that uses the passed module to extract all the
-- needed configurations. -- needed configurations.
-- If confuguration is missing returns nil -- If configuration is missing returns nil
-- @param module the module in which options to check for configs. -- @param module the module in which options to check for configs.
-- @return the new instance or nil -- @return the new instance or nil
function Util.new(module) function Util.new(module)
@ -261,7 +261,7 @@ function Util:process_and_verify_token(session, acceptedIssuers)
end end
end end
--- Verifies room name and domain if necesarry. --- Verifies room name and domain if necessary.
-- Checks configs and if necessary checks the room name extracted from -- Checks configs and if necessary checks the room name extracted from
-- room_address against the one saved in the session when token was verified. -- room_address against the one saved in the session when token was verified.
-- Also verifies domain name from token against the domain in the room_address, -- Also verifies domain name from token against the domain in the room_address,

View File

@ -22,7 +22,7 @@ local escaped_muc_domain_prefix = muc_domain_prefix:gsub("%p", "%%%1");
-- (e.g. extract 'foo' from 'conference.foo.example.com') -- (e.g. extract 'foo' from 'conference.foo.example.com')
local target_subdomain_pattern = "^"..escaped_muc_domain_prefix..".([^%.]+)%."..escaped_muc_domain_base; local target_subdomain_pattern = "^"..escaped_muc_domain_prefix..".([^%.]+)%."..escaped_muc_domain_base;
-- table to store all incoming iqs without roomname in it, like discoinfo to the muc compoent -- table to store all incoming iqs without roomname in it, like discoinfo to the muc component
local roomless_iqs = {}; local roomless_iqs = {};
-- Utility function to split room JID to include room name and subdomain -- Utility function to split room JID to include room name and subdomain