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
Long messages which respond to another message get split incorrectly #1059
Comments
Hey @tgr, thanks for reporting. I'm finding it difficult to reproduce this bug, could you send me an example message and reply text so I can reproduce it locally? |
Sorry for the slow response! Reproduction steps:
This time, it failed in a somewhat different way: I tried to reproduce with a fresh message too, but that worked fine. So my original assumption that this was caused just by the combination of quoting + long message seems to be incorrect. Which also means I don't have an idea what the local reproduction steps would be :( |
Thanks @tgr, and yes it might be that we aren't splitting sensible for non-ASCII, I remember there are quirks in JS around multi-byte characters. I can at least take a look at that one, but I think it may be difficult to reproduce your original bug, so will see what I can achieve. |
This may actually be #706 |
When writing a message that's longer than the IRC limit, while responding to another message, the bridge will prefix some words from the replied-to message (ie. it turns the response relationship into a quote) and splits the message into shorter chunks that do not get truncated on IRC. It seems the chunk calculation ignores that the quotation made the message longer, though, so you end up with some truncation happening in the middle:
(link to original comment)
The text was updated successfully, but these errors were encountered: