Skip to content

Conversation

@Daksh777
Copy link
Contributor

This PR fixes a bug that was preventing the SponsorBlock plugin from working (#4046)

The problem was in our custom IPC wrapper for renderer plugins. It was accidentally stripping out the event object from incoming messages, which caused the actual data (like the skip segments for SponsorBlock) to get mixed up.

I've adjusted the wrapper to make sure it passes along all the arguments correctly. This gets SponsorBlock working again and makes our plugin system a bit more reliable for the future.

@@ -1,4 +1,5 @@
import is from 'electron-is';
import { IpcRendererEvent } from 'electron';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] <@typescript-eslint/no-unused-vars> reported by reviewdog 🐶
'IpcRendererEvent' is defined but never used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant