Skip to content

site/kick(fix): message local tokens#665

Merged
AnatoleAM merged 1 commit into
masterfrom
fix/kick/message-local-tokens
Jun 9, 2023
Merged

site/kick(fix): message local tokens#665
AnatoleAM merged 1 commit into
masterfrom
fix/kick/message-local-tokens

Conversation

@AnatoleAM
Copy link
Copy Markdown
Contributor

Addressing an oversight in the token reconstruction which failed to handle scenarios where multiple text fragments exist where non-text tokens are skipped. This adds a WeakMap to store tokens linked to the relevant containing element. This fixes an issue where all text tokens would be replaced with the last seen text fragment when mixed with native emotes

@AnatoleAM AnatoleAM self-assigned this Jun 9, 2023
@AnatoleAM AnatoleAM merged commit 1d10fd4 into master Jun 9, 2023
@AnatoleAM AnatoleAM deleted the fix/kick/message-local-tokens branch June 9, 2023 17:32
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