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

feat: include more data when copying messages as JSON #5600

Merged
merged 5 commits into from
Sep 28, 2024

Conversation

Nerixyz
Copy link
Contributor

@Nerixyz Nerixyz commented Sep 20, 2024

From #5598. This PR extends Message to have a toJson method which serializes all members of a message (except for parseTime in tests). It's useful to have this while debugging message parsing. If binary-size is an issue, this could be behind a #define.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

src/messages/MessageThread.cpp Show resolved Hide resolved
src/messages/MessageElement.hpp Outdated Show resolved Hide resolved
src/widgets/helper/ChannelView.cpp Show resolved Hide resolved
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

src/messages/MessageElement.cpp Outdated Show resolved Hide resolved
Nerixyz added a commit to Nerixyz/chatterino2 that referenced this pull request Sep 20, 2024
@pajlada pajlada enabled auto-merge (squash) September 28, 2024 10:13
@pajlada pajlada merged commit e149be3 into Chatterino:master Sep 28, 2024
18 checks passed
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