Skip to content

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

fix(misc) fix typos

luzpazc7f96de787cc
diff --git a/conference.js b/conference.js
index c396d817a4..cd35e97e08 100644
--- a/conference.js
+++ b/conference.js
@@ -3070,7 +3070,7 @@ export default {
/**
* 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}
*/
async leaveRoom(doDisconnect = true) {
diff --git a/config.js b/config.js
index aceb26a0d2..0c21288bd9 100644
--- a/config.js
+++ b/config.js
@@ -613,7 +613,7 @@ var config = {
// },
// 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,
// If etherpad integration is enabled, setting this to true will
@@ -1028,7 +1028,7 @@ var config = {
// maxConferenceSize: 200,
//
// // 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
// },
diff --git a/css/_polls.scss b/css/_polls.scss
index 8e9c7c2c49..248b939665 100644
--- a/css/_polls.scss
+++ b/css/_polls.scss
@@ -88,7 +88,7 @@ ol.poll-result-list {
margin-bottom: 4;
}
-// Needeed to override atlaskit default blue color
+// Needed to override atlaskit default blue color
.poll-create-container .jsYMHu {
background: #292929;
border-color: #808090;
diff --git a/css/filmstrip/_vertical_filmstrip.scss b/css/filmstrip/_vertical_filmstrip.scss
index 35b36eb13d..f63afc89c7 100644
--- a/css/filmstrip/_vertical_filmstrip.scss
+++ b/css/filmstrip/_vertical_filmstrip.scss
@@ -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.
*/
#filmstripLocalVideo,
diff --git a/modules/API/API.js b/modules/API/API.js
index 2ba0820014..b50cfb4488 100644
--- a/modules/API/API.js
+++ b/modules/API/API.js
@@ -474,11 +474,11 @@ function initCommands() {
* @param { string } arg.mode - Recording mode, either `file` or `stream`.
* @param { string } arg.dropboxToken - Dropbox oauth2 token.
* @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.
* Only applies to certain jitsi meet deploys.
* @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}
*/
'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.
* @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.
* @returns {void}
@@ -1698,7 +1698,7 @@ class API {
/**
* 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}
*/
notifyParticipantsPaneToggled(open) {
diff --git a/modules/API/external/external_api.js b/modules/API/external/external_api.js
index 4b5ebb8025..a9d5492547 100644
--- a/modules/API/external/external_api.js
+++ b/modules/API/external/external_api.js
@@ -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.
*/
@@ -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.
* Only applies to certain jitsi meet deploys.
* @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.youtubeBroadcastID - The youtube broacast ID.
+ * @param { string } options.youtubeBroadcastID - The youtube broadcast ID.
* @returns {void}
*/
startRecording(options) {
diff --git a/react/features/analytics/AnalyticsEvents.js b/react/features/analytics/AnalyticsEvents.js
index 6eb97a8f0b..29f76f85c4 100644
--- a/react/features/analytics/AnalyticsEvents.js
+++ b/react/features/analytics/AnalyticsEvents.js
@@ -690,7 +690,7 @@ export function createStartSilentEvent() {
/**
* 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.
*/
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.
*/
export function createAudioPlaySuccessEvent(elementID) {
diff --git a/react/features/av-moderation/functions.js b/react/features/av-moderation/functions.js
index 285217590e..9d05330a96 100644
--- a/react/features/av-moderation/functions.js
+++ b/react/features/av-moderation/functions.js
@@ -107,7 +107,7 @@ export const isParticipantPending = (participant: Object, mediaType: MediaType)
/**
* 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.
* @returns {Array<Object>}
diff --git a/react/features/base/avatar/functions.js b/react/features/base/avatar/functions.js
index 9c40995898..e5f37850c3 100644
--- a/react/features/base/avatar/functions.js
+++ b/react/features/base/avatar/functions.js
@@ -21,7 +21,7 @@ const splitter = new GraphemeSplitter();
* Generates the background color of an initials based 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}
*/
export function getAvatarColor(initials: ?string, customAvatarBackgrounds: Array<string>) {
diff --git a/react/features/base/known-domains/reducer.js b/react/features/base/known-domains/reducer.js
index 9604bf8591..a4ccc86678 100644
--- a/react/features/base/known-domains/reducer.js
+++ b/react/features/base/known-domains/reducer.js
@@ -13,7 +13,7 @@ import { ADD_KNOWN_DOMAINS } from './actionTypes';
* 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
* 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 = [
'alpha.jitsi.net',
diff --git a/react/features/base/lastn/functions.js b/react/features/base/lastn/functions.js
index 6f8ab8cf60..5835cafc33 100644
--- a/react/features/base/lastn/functions.js
+++ b/react/features/base/lastn/functions.js
@@ -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.
*
* @param {Object} lastNLimits - The Object to be verified.
diff --git a/react/features/base/media/components/native/VideoTransform.js b/react/features/base/media/components/native/VideoTransform.js
index 0384498957..a71f398029 100644
--- a/react/features/base/media/components/native/VideoTransform.js
+++ b/react/features/base/media/components/native/VideoTransform.js
@@ -637,7 +637,7 @@ class VideoTransform extends Component<Props, State> {
/**
* Function to decide whether the responder should respond to a start
- * (thouch) event.
+ * (touch) event.
*
* @private
* @returns {boolean}
diff --git a/react/features/base/media/functions.js b/react/features/base/media/functions.js
index 97ab03c92d..d02b0aacf8 100644
--- a/react/features/base/media/functions.js
+++ b/react/features/base/media/functions.js
@@ -116,7 +116,7 @@ export function isVideoMutedByUser(stateful: Function | Object) {
* @param {boolean} waitForVideoStarted - True if the specified videoTrack
* should be rendered only after its associated video has started;
* otherwise, false.
- * @returns {boolean} True if the specified videoTrack should be renderd;
+ * @returns {boolean} True if the specified videoTrack should be rendered;
* otherwise, false.
*/
export function shouldRenderVideoTrack(
diff --git a/react/features/base/participants/preloadImage.web.js b/react/features/base/participants/preloadImage.web.js
index e20e0dd33b..b39c61a47f 100644
--- a/react/features/base/participants/preloadImage.web.js
+++ b/react/features/base/participants/preloadImage.web.js
@@ -9,7 +9,7 @@ import { isIconUrl } from './functions';
* @param {string | Object} src - Source of the avatar.
* @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
- * (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}
*/
export function preloadImage(
diff --git a/react/features/base/participants/reducer.js b/react/features/base/participants/reducer.js
index b87bc44321..12a66b26b4 100644
--- a/react/features/base/participants/reducer.js
+++ b/react/features/base/participants/reducer.js
@@ -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.
* @returns {boolean}
diff --git a/react/features/base/tracks/actions.js b/react/features/base/tracks/actions.js
index a9470a4602..8e1cf5b314 100644
--- a/react/features/base/tracks/actions.js
+++ b/react/features/base/tracks/actions.js
@@ -302,7 +302,7 @@ export function showNoDataFromSourceVideoError(jitsiTrack) {
*
* @param {boolean} enabled - The state to toggle screen sharing to.
* @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 {{
* type: TOGGLE_SCREENSHARING,
* 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}
*/
diff --git a/react/features/chat/components/AbstractMessageRecipient.js b/react/features/chat/components/AbstractMessageRecipient.js
index c742afe50c..87aea75afa 100644
--- a/react/features/chat/components/AbstractMessageRecipient.js
+++ b/react/features/chat/components/AbstractMessageRecipient.js
@@ -19,7 +19,7 @@ export type Props = {
_onRemovePrivateMessageRecipient: Function,
/**
- * Function to make the lobby message receipient inactive.
+ * Function to make the lobby message recipient inactive.
*/
_onHideLobbyChatRecipient: Function,
diff --git a/react/features/connection-indicator/components/web/ConnectionIndicator.js b/react/features/connection-indicator/components/web/ConnectionIndicator.js
index 29d5b276d8..c52b3eb169 100644
--- a/react/features/connection-indicator/components/web/ConnectionIndicator.js
+++ b/react/features/connection-indicator/components/web/ConnectionIndicator.js
@@ -80,7 +80,7 @@ type Props = AbstractProps & {
_connectionIndicatorInactiveDisabled: boolean,
/**
- * Wether the indicator popover is disabled.
+ * Whether the indicator popover is disabled.
*/
_popoverDisabled: boolean,
diff --git a/react/features/connection-indicator/functions.js b/react/features/connection-indicator/functions.js
index ce6e8d4e95..ac56464cb3 100644
--- a/react/features/connection-indicator/functions.js
+++ b/react/features/connection-indicator/functions.js
@@ -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.
* @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.
* @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.
* @returns {boolean} - Is connection status interrupted.
diff --git a/react/features/device-selection/functions.js b/react/features/device-selection/functions.js
index a81b52e3e8..c0c50d2939 100644
--- a/react/features/device-selection/functions.js
+++ b/react/features/device-selection/functions.js
@@ -44,7 +44,7 @@ export function getDeviceSelectionDialogProps(stateful: Object | Function, isDis
const userSelectedCamera = getUserSelectedCameraDeviceId(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.
let disableAudioInputChange
= !JitsiMeetJS.mediaDevices.isMultipleAudioInputSupported() && !(disablePreviews && inputDeviceChangeSupported);
diff --git a/react/features/display-name/components/native/DisplayNameLabel.tsx b/react/features/display-name/components/native/DisplayNameLabel.tsx
index 78a754446f..3963d5f152 100644
--- a/react/features/display-name/components/native/DisplayNameLabel.tsx
+++ b/react/features/display-name/components/native/DisplayNameLabel.tsx
@@ -22,7 +22,7 @@ type Props = {
_render: boolean;
/**
- * Whether ot not the name is in a container.
+ * Whether or not the name is in a container.
*/
contained?: boolean;
diff --git a/react/features/dropbox/functions.native.js b/react/features/dropbox/functions.native.js
index 1a937e9243..c0717b570a 100644
--- a/react/features/dropbox/functions.native.js
+++ b/react/features/dropbox/functions.native.js
@@ -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}
*/
diff --git a/react/features/dropbox/functions.web.js b/react/features/dropbox/functions.web.js
index c0ddfee842..bb90c82047 100644
--- a/react/features/dropbox/functions.web.js
+++ b/react/features/dropbox/functions.web.js
@@ -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} rToken - The refresh token.
diff --git a/react/features/e2ee/components/E2EELabel.js b/react/features/e2ee/components/E2EELabel.js
index 3d68e6c5b1..744f1e00ad 100644
--- a/react/features/e2ee/components/E2EELabel.js
+++ b/react/features/e2ee/components/E2EELabel.js
@@ -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
*/
diff --git a/react/features/filmstrip/actions.web.js b/react/features/filmstrip/actions.web.js
index 53cf09f771..b4d1f2dac7 100644
--- a/react/features/filmstrip/actions.web.js
+++ b/react/features/filmstrip/actions.web.js
@@ -361,7 +361,7 @@ export function clickOnVideo(n: number) {
/**
* 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.
* @returns {{
* type: SET_VOLUME,
diff --git a/react/features/filmstrip/components/native/Thumbnail.js b/react/features/filmstrip/components/native/Thumbnail.js
index 311914dbbe..3fa81cf723 100644
--- a/react/features/filmstrip/components/native/Thumbnail.js
+++ b/react/features/filmstrip/components/native/Thumbnail.js
@@ -90,7 +90,7 @@ type Props = {
* 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
- * participantID doesn't corespond to any of the existing participants.
+ * participantID doesn't correspond to any of the existing participants.
*/
_participantId: string,
diff --git a/react/features/filmstrip/components/web/AudioTracksContainer.js b/react/features/filmstrip/components/web/AudioTracksContainer.js
index 8043b5c8cf..4be6fd306d 100644
--- a/react/features/filmstrip/components/web/AudioTracksContainer.js
+++ b/react/features/filmstrip/components/web/AudioTracksContainer.js
@@ -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
// 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
- // 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 {
_tracks: state['features/base/tracks']
};
diff --git a/react/features/filmstrip/components/web/ThumbnailWrapper.js b/react/features/filmstrip/components/web/ThumbnailWrapper.js
index 5869d1ca74..ea6b0f1f86 100644
--- a/react/features/filmstrip/components/web/ThumbnailWrapper.js
+++ b/react/features/filmstrip/components/web/ThumbnailWrapper.js
@@ -64,7 +64,7 @@ type Props = {
rowIndex?: number,
/**
- * The styles comming from react-window.
+ * The styles coming from react-window.
*/
style: Object
};
diff --git a/react/features/filmstrip/functions.native.js b/react/features/filmstrip/functions.native.js
index 82d57ebfe5..d2c5262657 100644
--- a/react/features/filmstrip/functions.native.js
+++ b/react/features/filmstrip/functions.native.js
@@ -52,7 +52,7 @@ export function shouldRemoteVideosBeVisible(state: Object) {
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
// in the filmstrip.
const participantCount = getParticipantCountWithFake(state);
diff --git a/react/features/filmstrip/functions.web.js b/react/features/filmstrip/functions.web.js
index 2a09376164..357311e3da 100644
--- a/react/features/filmstrip/functions.web.js
+++ b/react/features/filmstrip/functions.web.js
@@ -82,7 +82,7 @@ export function shouldRemoteVideosBeVisible(state: Object) {
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
// in the filmstrip.
const participantCount = getParticipantCountWithFake(state);
@@ -358,7 +358,7 @@ export function calculateResponsiveTileViewDimensions({
&& oldNumberOfVisibleParticipants >= numberOfParticipants)
|| (oldNumberOfVisibleParticipants < numberOfParticipants
&& 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.
dimensions = currentDimensions;
}
diff --git a/react/features/filmstrip/middleware.native.js b/react/features/filmstrip/middleware.native.js
index 3632bf52e4..b714e87550 100644
--- a/react/features/filmstrip/middleware.native.js
+++ b/react/features/filmstrip/middleware.native.js
@@ -15,7 +15,7 @@ MiddlewareRegistry.register(store => next => action => {
if (action.type === PARTICIPANT_LEFT) {
// 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()
- // 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
// non-existing participant.
updateRemoteParticipantsOnLeave(store, action.participant?.id);
diff --git a/react/features/filmstrip/middleware.web.js b/react/features/filmstrip/middleware.web.js
index 5b81c39738..942918d8c0 100644
--- a/react/features/filmstrip/middleware.web.js
+++ b/react/features/filmstrip/middleware.web.js
@@ -67,7 +67,7 @@ MiddlewareRegistry.register(store => next => action => {
if (action.type === PARTICIPANT_LEFT) {
// 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()
- // 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
// non-existing participant.
updateRemoteParticipantsOnLeave(store, action.participant?.id);
diff --git a/react/features/participants-pane/components/web/MeetingParticipantItem.js b/react/features/participants-pane/components/web/MeetingParticipantItem.js
index 6311c5af77..1c1ae37c8f 100644
--- a/react/features/participants-pane/components/web/MeetingParticipantItem.js
+++ b/react/features/participants-pane/components/web/MeetingParticipantItem.js
@@ -87,7 +87,7 @@ type Props = {
* The participant ID.
*
* 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,
diff --git a/react/features/polls/reducer.js b/react/features/polls/reducer.js
index 12036c0aff..afa6fa02a2 100644
--- a/react/features/polls/reducer.js
+++ b/react/features/polls/reducer.js
@@ -53,7 +53,7 @@ ReducerRegistry.register('features/polls', (state = INITIAL_STATE, action) => {
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
},
nbUnreadPolls: state.nbUnreadPolls + 1
diff --git a/react/features/recording/functions.js b/react/features/recording/functions.js
index b7db9360d9..d97d73076c 100644
--- a/react/features/recording/functions.js
+++ b/react/features/recording/functions.js
@@ -130,7 +130,7 @@ export function getSessionStatusToShow(state: Object, mode: string): ?string {
/**
* 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() {
return browser.isChromiumBased() && !browser.isElectron() && !isMobileBrowser()
diff --git a/react/features/remote-control/functions.js b/react/features/remote-control/functions.js
index ca58216f1c..b9f2dbbe5b 100644
--- a/react/features/remote-control/functions.js
+++ b/react/features/remote-control/functions.js
@@ -9,7 +9,7 @@ import { keyboardEventToKey } from './keycodes';
import logger from './logger';
/**
- * Checks if the remote contrrol is enabled.
+ * Checks if the remote control is enabled.
*
* @param {*} state - The redux state.
* @returns {boolean} - True if the remote control is enabled and false otherwise.
diff --git a/react/features/rtcstats/RTCStats.js b/react/features/rtcstats/RTCStats.js
index 2691bcb66a..ee7a927f9d 100644
--- a/react/features/rtcstats/RTCStats.js
+++ b/react/features/rtcstats/RTCStats.js
@@ -109,7 +109,7 @@ class RTCStats {
* Send the timestamp of the start of the conference, the data will be processed by the rtcstats-server
* 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}
*/
sendConferenceTimestamp(timestamp) {
diff --git a/react/features/screen-share/actions.js b/react/features/screen-share/actions.js
index 49fff97729..5971562bb9 100644
--- a/react/features/screen-share/actions.js
+++ b/react/features/screen-share/actions.js
@@ -92,7 +92,7 @@ export function startAudioScreenShareFlow() {
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.
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
- * not explicity told otherwise.
+ * not explicitly told otherwise.
*
* @param {boolean} enabled - Explicitly set the screen sharing state.
* @returns {void}
diff --git a/react/features/shared-video/components/web/AbstractVideoManager.js b/react/features/shared-video/components/web/AbstractVideoManager.js
index 43f7886b29..bd4d7d5e6d 100644
--- a/react/features/shared-video/components/web/AbstractVideoManager.js
+++ b/react/features/shared-video/components/web/AbstractVideoManager.js
@@ -41,7 +41,7 @@ export type Props = {
_conference: Object,
/**
- * Warning that indicates an incorect video url.
+ * Warning that indicates an incorrect video url.
*/
_displayWarning: Function,
diff --git a/react/features/toolbox/actionTypes.ts b/react/features/toolbox/actionTypes.ts
index 4f23c8d9b8..d2de3f8e48 100644
--- a/react/features/toolbox/actionTypes.ts
+++ b/react/features/toolbox/actionTypes.ts
@@ -45,7 +45,7 @@ export const SET_OVERFLOW_DRAWER = 'SET_OVERFLOW_DRAWER';
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.
*
* {
diff --git a/react/features/toolbox/components/web/OverflowToggleButton.js b/react/features/toolbox/components/web/OverflowToggleButton.js
index 082279f655..159e8d2529 100644
--- a/react/features/toolbox/components/web/OverflowToggleButton.js
+++ b/react/features/toolbox/components/web/OverflowToggleButton.js
@@ -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, *> {
accessibilityLabel = 'toolbar.accessibilityLabel.moreActions';
diff --git a/react/features/video-layout/middleware.any.js b/react/features/video-layout/middleware.any.js
index 6876bd9c29..c3ab646666 100644
--- a/react/features/video-layout/middleware.any.js
+++ b/react/features/video-layout/middleware.any.js
@@ -81,7 +81,7 @@ MiddlewareRegistry.register(store => next => action => {
// Update the remoteScreenShares.
// 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
// a thumbnails for already left participants since the remoteScreenShares array is used for
// building the ordered list of remote participants.
diff --git a/react/features/video-menu/actions.web.js b/react/features/video-menu/actions.web.js
index caebe8626c..e173885b02 100644
--- a/react/features/video-menu/actions.web.js
+++ b/react/features/video-menu/actions.web.js
@@ -4,7 +4,7 @@ import { SHOW_CONNECTION_INFO } from '../base/connection/actionTypes';
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
* info or the context menu buttons on thumbnail popover.
diff --git a/react/features/video-quality/components/Slider.js b/react/features/video-quality/components/Slider.js
index 01cd1214da..a518c53809 100644
--- a/react/features/video-quality/components/Slider.js
+++ b/react/features/video-quality/components/Slider.js
@@ -39,7 +39,7 @@ type Props = {
}
const useStyles = makeStyles(theme => {
- // keep the same hight for all elements:
+ // keep the same height for all elements:
// input, input track & fake track(div)
const height = 6;
diff --git a/react/features/virtual-background/actions.js b/react/features/virtual-background/actions.js
index 8334ae0fdd..ec2a701f8f 100644
--- a/react/features/virtual-background/actions.js
+++ b/react/features/virtual-background/actions.js
@@ -8,7 +8,7 @@ import logger from './logger';
/**
* 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.
* @returns {Promise}
*/
@@ -38,7 +38,7 @@ export function toggleBackgroundEffect(options: Object, jitsiTrack: 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 {{
* type: SET_VIRTUAL_BACKGROUND,
* virtualSource: string,
diff --git a/react/features/virtual-background/components/VirtualBackgroundDialog.js b/react/features/virtual-background/components/VirtualBackgroundDialog.js
index 5f211ab210..89e5b7e157 100644
--- a/react/features/virtual-background/components/VirtualBackgroundDialog.js
+++ b/react/features/virtual-background/components/VirtualBackgroundDialog.js
@@ -330,7 +330,7 @@ function VirtualBackground({
blurValue: 25,
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,
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 }));
} else {
setOptions(newOptions);
- logger.info('"Desktop-share" option setted for virtual background preview!');
+ logger.info('"Desktop-share" option set for virtual background preview!');
}
}, [ dispatch, options ]);
@@ -429,7 +429,7 @@ function VirtualBackground({
enabled: false,
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,
selectedThumbnail: image.id
});
- logger.info('Uploaded image setted for virtual background preview!');
+ logger.info('Uploaded image set for virtual background preview!');
}
}, [ storedImages ]);
diff --git a/react/features/virtual-background/components/VirtualBackgroundPreview.js b/react/features/virtual-background/components/VirtualBackgroundPreview.js
index 817f04c381..90ad1433b1 100644
--- a/react/features/virtual-background/components/VirtualBackgroundPreview.js
+++ b/react/features/virtual-background/components/VirtualBackgroundPreview.js
@@ -46,7 +46,7 @@ export type Props = {
loadedPreview: Function,
/**
- * Represents the virtual background setted options.
+ * Represents the virtual background set options.
*/
options: Object,
diff --git a/resources/prosody-plugins/mod_auth_token.lua b/resources/prosody-plugins/mod_auth_token.lua
index 7ae65d3ae3..b9f7efa7ea 100644
--- a/resources/prosody-plugins/mod_auth_token.lua
+++ b/resources/prosody-plugins/mod_auth_token.lua
@@ -29,7 +29,7 @@ function init_session(event)
local params = formdecode(query);
-- 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
-- other fields will be extracted from the token and set in the session
diff --git a/resources/prosody-plugins/mod_muc_breakout_rooms.lua b/resources/prosody-plugins/mod_muc_breakout_rooms.lua
index 103d712e8b..78c9719a65 100644
--- a/resources/prosody-plugins/mod_muc_breakout_rooms.lua
+++ b/resources/prosody-plugins/mod_muc_breakout_rooms.lua
@@ -465,7 +465,7 @@ function process_breakout_rooms_muc_loaded(breakout_rooms_muc, host_module)
local room = event.room;
local main_room, main_room_jid = get_main_room(room.jid);
- -- Breakout room matadata.
+ -- Breakout room metadata.
table.insert(event.form, {
name = 'muc#roominfo_isbreakout';
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 _, main_room_jid = get_main_room(room.jid);
- -- Breakout room matadata.
+ -- Breakout room metadata.
table.insert(event.form, {
name = 'muc#roominfo_isbreakout';
label = 'Is this a breakout room?';
diff --git a/resources/prosody-plugins/mod_muc_size.lua b/resources/prosody-plugins/mod_muc_size.lua
index 9aa98af1f4..ff5f6980c9 100644
--- a/resources/prosody-plugins/mod_muc_size.lua
+++ b/resources/prosody-plugins/mod_muc_size.lua
@@ -76,7 +76,7 @@ end
--- Handles request for retrieving the room size
-- @param event the http event, holds the request query
-- @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)
if (not event.request.url.query) then
return { status_code = 400; };
diff --git a/resources/prosody-plugins/mod_smacks.lua b/resources/prosody-plugins/mod_smacks.lua
index 4ada63c4f7..a6d1e622cb 100644
--- a/resources/prosody-plugins/mod_smacks.lua
+++ b/resources/prosody-plugins/mod_smacks.lua
@@ -499,7 +499,7 @@ module:hook("pre-resource-unbind", function (event)
and session.hibernating == hibernate_time then
-- 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
- -- 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 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
diff --git a/resources/prosody-plugins/poltergeist.lib.lua b/resources/prosody-plugins/poltergeist.lib.lua
index 7fa0ae2c5d..8b89fb0513 100644
--- a/resources/prosody-plugins/poltergeist.lib.lua
+++ b/resources/prosody-plugins/poltergeist.lib.lua
@@ -152,8 +152,8 @@ end
-- 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
--- tag applied to all presence stanza's broadcasted. The following funcitons
--- assisst in managing this state.
+-- tag applied to all presence stanza's broadcasted. The following functions
+-- assist in managing this state.
--------------------------------------------------------------------------------
local presence_ignored = {}
diff --git a/resources/prosody-plugins/token/util.lib.lua b/resources/prosody-plugins/token/util.lib.lua
index 56c5c0c539..4ad4cea64c 100644
--- a/resources/prosody-plugins/token/util.lib.lua
+++ b/resources/prosody-plugins/token/util.lib.lua
@@ -25,7 +25,7 @@ Util.__index = Util
--- Constructs util class for token verifications.
-- Constructor that uses the passed module to extract all the
-- 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.
-- @return the new instance or nil
function Util.new(module)
@@ -261,7 +261,7 @@ function Util:process_and_verify_token(session, acceptedIssuers)
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
-- 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,
diff --git a/resources/prosody-plugins/util.lib.lua b/resources/prosody-plugins/util.lib.lua
index 2f231b9cb8..fb876410a2 100644
--- a/resources/prosody-plugins/util.lib.lua
+++ b/resources/prosody-plugins/util.lib.lua
@@ -22,7 +22,7 @@ local escaped_muc_domain_prefix = muc_domain_prefix:gsub("%p", "%%%1");
-- (e.g. extract 'foo' from 'conference.foo.example.com')
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 = {};
-- Utility function to split room JID to include room name and subdomain