aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/customRPC.tsx
diff options
context:
space:
mode:
authorRuiNtD <RuiNtD@outlook.com>2023-03-24 21:00:27 -0600
committerGitHub <noreply@github.com>2023-03-25 04:00:27 +0100
commitbbf3c74cb206e427877f65cbb52f318abeb0cda0 (patch)
treef2e92598a440e3920c80b1bcbacf975bd5fb6ac0 /src/plugins/customRPC.tsx
parent93cb51a975ce457d6091dc7b0230610f3b958bef (diff)
downloadVencord-bbf3c74cb206e427877f65cbb52f318abeb0cda0.tar.gz
Vencord-bbf3c74cb206e427877f65cbb52f318abeb0cda0.tar.bz2
Vencord-bbf3c74cb206e427877f65cbb52f318abeb0cda0.zip
Update LastFM plugin (#483)
Co-authored-by: Ven <vendicated@riseup.net> Co-authored-by: Sofia Lima <me@dzshn.xyz>
Diffstat (limited to 'src/plugins/customRPC.tsx')
-rw-r--r--src/plugins/customRPC.tsx3
1 files changed, 2 insertions, 1 deletions
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",
});
}