forked from Strencher/BdBrowser
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix: BetterDiscord gets initialized outside the indended web client
- BdBrowser's check for `getCurrentUser` is not sufficient to determine whether a user really is in the web client, as the UserStore module also gets loaded on the OAuth authorization prompt. This causes BD to initialize on unintended parts of Discord's website. To combat this, the presence of the GuildStore will also be checked now. (Reported by @Serega007RU)
- Loading branch information
Showing
3 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters