Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix BigInt TypeError #14

Merged
merged 1 commit into from
Aug 9, 2021
Merged

Fix BigInt TypeError #14

merged 1 commit into from
Aug 9, 2021

Conversation

colin273
Copy link
Contributor

@colin273 colin273 commented Aug 9, 2021

Apparently, permissions no longer have a data property. The injection was failing due to a TypeError about mixing BigInt with other types (probably undefined to be specific). This removes the attempts to access the data property in order to make the injection work again.

So far, the fix appears to work as intended.

Canary 92815 (1bf8462)
Host 0.0.273
OS X 10.15.7 (20.6.0)

Apparently permissions are now represented as BigInt rather than as an object with a data property. This makes the injection work again.
@colin273 colin273 mentioned this pull request Aug 9, 2021
@21Joakim 21Joakim merged commit da6bc8f into powercord-community:master Aug 9, 2021
@21Joakim
Copy link
Collaborator

21Joakim commented Aug 9, 2021

Thank you for your contribution ❤️

@colin273 colin273 deleted the patch-1 branch December 13, 2021 06:41
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.

None yet

2 participants