From 0477ba615cd87bd67b13b147cdc58e3af527be7e Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Wed, 4 Oct 2023 16:34:52 +0200 Subject: [PATCH] fix(ui): fixing messages for remote control --- frontend/app/player/web/assist/RemoteControl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/player/web/assist/RemoteControl.ts b/frontend/app/player/web/assist/RemoteControl.ts index 1e4424f06..19d2ffb0a 100644 --- a/frontend/app/player/web/assist/RemoteControl.ts +++ b/frontend/app/player/web/assist/RemoteControl.ts @@ -44,8 +44,8 @@ export default class RemoteControl { if (data === socket.id) { if (this.store.get().remoteControl === RemoteControlStatus.Enabled) this.onEnd(); this.toggleRemoteControl(false); + this.onReject(); } - this.onReject(); if (this.store.get().remoteControl === RemoteControlStatus.Requesting) { return this.store.update({ remoteControl: RemoteControlStatus.Disabled }); }