From bbf3c74cb206e427877f65cbb52f318abeb0cda0 Mon Sep 17 00:00:00 2001
From: RuiNtD <RuiNtD@outlook.com>
Date: Fri, 24 Mar 2023 21:00:27 -0600
Subject: Update LastFM plugin (#483)

Co-authored-by: Ven <vendicated@riseup.net>
Co-authored-by: Sofia Lima <me@dzshn.xyz>
---
 src/plugins/customRPC.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src/plugins/customRPC.tsx')

diff --git a/src/plugins/customRPC.tsx b/src/plugins/customRPC.tsx
index fe6d574..ecd77e9 100644
--- a/src/plugins/customRPC.tsx
+++ b/src/plugins/customRPC.tsx
@@ -215,7 +215,8 @@ async function setRpc(disable?: boolean) {
 
     FluxDispatcher.dispatch({
         type: "LOCAL_ACTIVITY_UPDATE",
-        activity: !disable ? activity : {}
+        activity: !disable ? activity : null,
+        socketId: "CustomRPC",
     });
 }
 
-- 
cgit 

