Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Removes unnecessary source code
Lyubo Marinov7fe421aeba7d
diff --git a/react/features/always-on-top/HangupButton.js b/react/features/always-on-top/HangupButton.jsindex c8b7e37cc6..f4a8210753 100644--- a/react/features/always-on-top/HangupButton.js+++ b/react/features/always-on-top/HangupButton.js@@ -20,15 +20,4 @@ export default class HangupButton extends AbstractHangupButton<Props, *> {api.executeCommand('hangup');window.close();}-- /**- * Indicates whether this button is disabled or not.- *- * @override- * @private- * @returns {boolean}- */- _isDisabled() {- return false;- }}diff --git a/react/features/invite/components/InviteButton.native.js b/react/features/invite/components/InviteButton.native.jsindex 0d8c12e61c..beeb5c85a9 100644--- a/react/features/invite/components/InviteButton.native.js+++ b/react/features/invite/components/InviteButton.native.js@@ -75,17 +75,6 @@ class InviteButton extends AbstractButton<Props, *> {}}- /**- * Indicates whether this button is disabled or not.- *- * @override- * @private- * @returns {boolean}- */- _isDisabled() {- return false;- }-/*** Implements React's {@link Component#render()}.*diff --git a/react/features/mobile/audio-mode/components/AudioRouteButton.js b/react/features/mobile/audio-mode/components/AudioRouteButton.jsindex 545947d0ab..b34f7333eb 100644--- a/react/features/mobile/audio-mode/components/AudioRouteButton.js+++ b/react/features/mobile/audio-mode/components/AudioRouteButton.js@@ -86,17 +86,6 @@ class AudioRouteButton extends AbstractButton<Props, *> {}}- /**- * Indicates whether this button is disabled or not.- *- * @override- * @private- * @returns {boolean}- */- _isDisabled() {- return false;- }-_setVolumeComponent: (?Object) => void;/**diff --git a/react/features/mobile/picture-in-picture/components/PictureInPictureButton.js b/react/features/mobile/picture-in-picture/components/PictureInPictureButton.jsindex 5c585a4248..e1f48ebc7c 100644--- a/react/features/mobile/picture-in-picture/components/PictureInPictureButton.js+++ b/react/features/mobile/picture-in-picture/components/PictureInPictureButton.js@@ -40,17 +40,6 @@ class PictureInPictureButton extends AbstractButton<Props, *> {this.props.dispatch(enterPictureInPicture());}- /**- * Indicates whether this button is disabled or not.- *- * @override- * @private- * @returns {boolean}- */- _isDisabled() {- return false;- }-/*** Implements React's {@link Component#render()}.*diff --git a/react/features/settings/components/web/SettingsButton.js b/react/features/settings/components/web/SettingsButton.jsindex a3b5883397..c7b330d18e 100644--- a/react/features/settings/components/web/SettingsButton.js+++ b/react/features/settings/components/web/SettingsButton.js@@ -55,17 +55,6 @@ class SettingsButton extends AbstractButton<Props, *> {dispatch(toggleSettings());}}-- /**- * Indicates whether this button is disabled or not.- *- * @override- * @private- * @returns {boolean}- */- _isDisabled() {- return false;- }}/**diff --git a/react/features/toolbox/components/AudioMuteButton.js b/react/features/toolbox/components/AudioMuteButton.jsindex ab084872ba..ba564b37a2 100644--- a/react/features/toolbox/components/AudioMuteButton.js+++ b/react/features/toolbox/components/AudioMuteButton.js@@ -35,17 +35,6 @@ class AudioMuteButton extends AbstractAudioMuteButton<Props, *> {label = 'toolbar.mute';tooltip = 'toolbar.mute';- /**- * Indicates if this button should be disabled or not.- *- * @override- * @private- * @returns {boolean}- */- _isDisabled() {- return false;- }-/*** Indicates if audio is currently muted ot nor.*@@ -68,7 +57,6 @@ class AudioMuteButton extends AbstractAudioMuteButton<Props, *> {sendAnalytics(createToolbarEvent(AUDIO_MUTE, { enable: audioMuted }));this.props.dispatch(setAudioMuted(audioMuted));}-}/**diff --git a/react/features/toolbox/components/HangupButton.js b/react/features/toolbox/components/HangupButton.jsindex 5c9d305a55..0b33a4813f 100644--- a/react/features/toolbox/components/HangupButton.js+++ b/react/features/toolbox/components/HangupButton.js@@ -44,17 +44,6 @@ class HangupButton extends AbstractHangupButton<Props, *> {this.props.dispatch(disconnect(true));}}-- /**- * Indicates if this button should be disabled or not.- *- * @override- * @private- * @returns {boolean}- */- _isDisabled() {- return false;- }}export default translate(connect()(HangupButton));diff --git a/react/features/toolbox/components/VideoMuteButton.js b/react/features/toolbox/components/VideoMuteButton.jsindex 8a48c055de..ef97826374 100644--- a/react/features/toolbox/components/VideoMuteButton.js+++ b/react/features/toolbox/components/VideoMuteButton.js@@ -81,7 +81,6 @@ class VideoMuteButton extends AbstractVideoMuteButton<Props, *> {VIDEO_MUTISM_AUTHORITY.USER,/* ensureTrack */ true));}-}/**diff --git a/react/features/toolbox/components/native/AudioOnlyButton.js b/react/features/toolbox/components/native/AudioOnlyButton.jsindex bdb14ee561..5d2207faad 100644--- a/react/features/toolbox/components/native/AudioOnlyButton.js+++ b/react/features/toolbox/components/native/AudioOnlyButton.js@@ -39,17 +39,6 @@ class AudioOnlyButton extends AbstractButton<Props, *> {this.props.dispatch(toggleAudioOnly());}- /**- * Indicates whether this button is disabled or not.- *- * @override- * @private- * @returns {boolean}- */- _isDisabled() {- return false;- }-/*** Indicates whether this button is in toggled state or not.*