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

Require messages be loaded before registerModule #20

Merged
merged 1 commit into from
Oct 14, 2021

Conversation

Xi-Plus
Copy link
Collaborator

@Xi-Plus Xi-Plus commented Oct 14, 2021

I use msg() in beforeAddMenu or TwinkleModule constructor. I found that it sometimes displays the message key. I'm not sure is this patch correct. But it works.

@siddharthvp
Copy link
Member

Nice, indeed the promise there should have been returned – this was a bug.

@siddharthvp siddharthvp merged commit 962a29e into master Oct 14, 2021
@siddharthvp siddharthvp deleted the fix-msg-loading branch October 14, 2021 16:00
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.

2 participants