summaryrefslogtreecommitdiffstats
path: root/src/utils/webrtc/SpeakingWhileMutedWarner.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/webrtc/SpeakingWhileMutedWarner.js')
-rw-r--r--src/utils/webrtc/SpeakingWhileMutedWarner.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/utils/webrtc/SpeakingWhileMutedWarner.js b/src/utils/webrtc/SpeakingWhileMutedWarner.js
index 75f4b2250..bf13984ac 100644
--- a/src/utils/webrtc/SpeakingWhileMutedWarner.js
+++ b/src/utils/webrtc/SpeakingWhileMutedWarner.js
@@ -40,13 +40,13 @@
* to the user even if the browser window is not in the foreground (provided
* the user granted the permissions to receive notifications from the site).
*
- * @param {LocalMediaModel} model the model that emits "speakingWhileMuted"
- * events
- * @param {View} view the view that provides the
- * "setSpeakingWhileMutedNotification" method
+ * @param {object} LocalMediaModel the model that emits "speakingWhileMuted"
+ * events.
+ * @param {object} view the view that provides the
+ * "setSpeakingWhileMutedNotification" method.
*/
-export default function SpeakingWhileMutedWarner(model, view) {
- this._model = model
+export default function SpeakingWhileMutedWarner(LocalMediaModel, view) {
+ this._model = LocalMediaModel
this._view = view
this._handleSpeakingWhileMutedChangeBound = this._handleSpeakingWhileMutedChange.bind(this)