diff --git a/src/plugins/callTimer.ts b/src/plugins/callTimer.ts index d58b428..264e74b 100644 --- a/src/plugins/callTimer.ts +++ b/src/plugins/callTimer.ts @@ -109,7 +109,7 @@ export default definePlugin({ }, stop() { - FluxDispatcher.unsubscribe("RCT_CONNECTION_STATE", this.handleRtcConnectionState); + FluxDispatcher.unsubscribe("RTC_CONNECTION_STATE", this.handleRtcConnectionState); this.style?.remove(); clearInterval(this.interval); }