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

Improve the "You are banned" message #2266

Merged
merged 9 commits into from Dec 12, 2020

Conversation

Mm2PL
Copy link
Collaborator

@Mm2PL Mm2PL commented Dec 8, 2020

Pull request checklist:

  • CHANGELOG.md was updated, if applicable

Description

Closes #2110

Adds:

  • You were forced off the channel, try reconnecting message
  • You have been banned message
  • Link::Reconnect

Removes:

  • nothing

Changes

  • How the You are banned message is handled.

Notes

An unexpected PART doesn't exactly mean being banned. If you get banned you get a Pubsub message saying that you were after the PART.

Screenshots

2020-12-08_16-46

Also adds special case for being force PARTed off a channel which
happens when getting banned, but does not mean being banned.
@Mm2PL Mm2PL changed the title Feature/banned message Improve the "You are banned" message Dec 8, 2020
@Mm2PL
Copy link
Collaborator Author

Mm2PL commented Dec 8, 2020

@pajlada, could you please review this?

src/providers/twitch/IrcMessageHandler.cpp Outdated Show resolved Hide resolved
src/providers/twitch/IrcMessageHandler.cpp Outdated Show resolved Hide resolved
src/widgets/helper/ChannelView.cpp Show resolved Hide resolved
Applied suggestion to the wrong part of the code
@Mm2PL
Copy link
Collaborator Author

Mm2PL commented Dec 9, 2020

I attempted to fix my own fork and force pushed on the wrong branch :-)

Co-authored-by: Paweł <zneix@zneix.eu>
Copy link
Collaborator

@zneix zneix left a comment

Choose a reason for hiding this comment

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

I am a really big fan of this kind of link-based solutions, code looks good and I'm looking forward to having this merged 👍

@pajlada
Copy link
Member

pajlada commented Dec 12, 2020

@Mm2PL Looks good to me! Please get this branch up-to-date with master and I'll merge this in

@pajlada pajlada merged commit eb8eecd into Chatterino:master Dec 12, 2020
@Mm2PL Mm2PL deleted the feature/banned_message branch December 12, 2020 13:20
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.

Improved banned message
4 participants