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

Double @ fix #148

Merged
merged 1 commit into from
Oct 8, 2021
Merged

Double @ fix #148

merged 1 commit into from
Oct 8, 2021

Conversation

Excellify
Copy link
Collaborator

Fixes the Double @ when having both 7tv and ffz installed. The historical view of messages and the first message would have a double @'User'. This would only happen in channels where you are a moderator. The reason was that the ffzMode variable was set at when the currentHandler.start() was first called. At this point the ffz hook hasn't loaded yet, so it would be set to false. Later when the first message is sendt and the componentDidUpdate() is called, the local ffzMode is still set to false, at which point it should be true.

@Excellify
Copy link
Collaborator Author

Apparently being a moderator is not required to for the issue to occur.

@AnatoleAM AnatoleAM self-requested a review October 7, 2021 21:54
@AnatoleAM AnatoleAM self-assigned this Oct 7, 2021
@AnatoleAM
Copy link
Contributor

Is this actually working? @Excellify

@Excellify
Copy link
Collaborator Author

Excellify commented Oct 7, 2021

it fixed the double @ when joining a channel and loading in messages from history at least.
image
image

Copy link
Contributor

@AnatoleAM AnatoleAM left a comment

Choose a reason for hiding this comment

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

Seems good, I couldn't reproduce it happening beyond the initial load

@AnatoleAM AnatoleAM merged commit 6908772 into SevenTV:dev Oct 8, 2021
@Excellify Excellify deleted the double@fix branch October 15, 2021 22:38
AnatoleAM added a commit that referenced this pull request Mar 15, 2023
* Rename "Beta" to "Nightly"

* LIVE changelog
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