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(recording-button) Fix recording button tooltip (#16891)

Horatiu Muresanb4a64ebc443a
diff --git a/react/features/recording/functions.ts b/react/features/recording/functions.ts
index c5fedfec53..05ed2fa61d 100644
--- a/react/features/recording/functions.ts
+++ b/react/features/recording/functions.ts
@@ -248,7 +248,7 @@ export function getRecordButtonProps(state: IReduxState) {
// a button can be disabled/enabled if enableFeaturesBasedOnToken
// is on or if the livestreaming is running.
let disabled = false;
- let tooltip = '';
+ let tooltip = isRecordingRunning(state) ? 'dialog.stopRecording' : 'dialog.startRecording';
// If the containing component provides the visible prop, that is one
// above all, but if not, the button should be autonomus and decide on