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

deprecate message truncation #1586

Merged
merged 1 commit into from
Mar 5, 2021

Conversation

slingamn
Copy link
Member

@slingamn slingamn commented Mar 5, 2021

Implements #1577, but the issue should remain open until we clean up the debugging loglines.

This splits the baby: default.yaml has allow-truncation: false (and I plan for the test suite to run in this mode), but traditional.yaml has it as true, and it will default to true when unset (so no one gets surprised by their bots breaking).

Implements ergochat#1577, but the issue should remain open until we clean up
the debugging loglines.
@slingamn slingamn added this to the v2.6 milestone Mar 5, 2021
@slingamn
Copy link
Member Author

slingamn commented Mar 5, 2021

This will also close #1575; regardless of the value of the new setting, this version of ircmsg will never truncate a valid UTF-8 message in the middle of a codepoint.

@slingamn slingamn linked an issue Mar 5, 2021 that may be closed by this pull request
@slingamn slingamn merged commit 788b37b into ergochat:master Mar 5, 2021
@slingamn slingamn deleted the issue1577_no_truncation.2 branch January 28, 2025 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

message truncation can result in invalid UTF8 output
1 participant