Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Assign messageId via local variable #144

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

darkwing
Copy link
Contributor

@darkwing darkwing commented May 3, 2022

Relying on this.currentMessageId after we set the next ID could allow two rapid calls to obscure the callback number.

@darkwing darkwing requested a review from a team as a code owner May 3, 2022 21:37
Copy link
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

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

Happy to approve this once the lint error is fixed, as this seems easier to read to me. But I am confident there are no functional changes here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants