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

Make opening threads from a usercard opened with /usercard not crash the client #3905

Merged

Conversation

Mm2PL
Copy link
Collaborator

@Mm2PL Mm2PL commented Aug 5, 2022

Pull request checklist:

  • CHANGELOG.md was updated, if applicable

Description

It's a little hacky IMO but it works. Closes #3902.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 5, 2022

clang-tidy review says "All clean, LGTM! 👍"

@Mm2PL Mm2PL requested a review from pajlada August 5, 2022 17:27
CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Member

@pajlada pajlada left a comment

Choose a reason for hiding this comment

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

I'm happy with this fix

There are some more ways you can crash things if you close the original split etc but that's more of a chatterino issue than this PR issue

@github-actions
Copy link
Contributor

github-actions bot commented Aug 5, 2022

clang-tidy review says "All clean, LGTM! 👍"

Copy link
Collaborator

@Felanbird Felanbird left a comment

Choose a reason for hiding this comment

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

it doesn't crash anymore

@Mm2PL
Copy link
Collaborator Author

Mm2PL commented Aug 5, 2022

Actually this still may crash if the split isn't in the main window

@pajlada
Copy link
Member

pajlada commented Aug 12, 2022

Unable to crash this with popups

2022-08-12.20-34-51.mp4

@pajlada pajlada enabled auto-merge (squash) November 5, 2022 12:07
@pajlada pajlada merged commit 6f88c1c into master Nov 5, 2022
@pajlada pajlada deleted the fix/make_usercard_command_not_crash_when_viewing_replies branch November 5, 2022 12:40
@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2022

clang-tidy review says "All clean, LGTM! 👍"

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.

Clicking or prompting a reply from within a usercard causes a full crash
4 participants