Closed kquick closed 6 years ago
Hmm, that is strange. Do you mean that long messages are cut off and then a [...]
is placed at the end? Because that should only be done after a newline: https://github.com/softdevteam/mattermost-github-integration/blob/master/mattermostgithub/payload.py#L38
Or do you mean something else? When you say your messages are split, do you mean newlines are inserted randomly? Or do you get multiple notifications for a single message?
Could you post a message where this has happened?
When attempting to post a large message to a channel, the message is broken into multiple messages. However, the break seems to be at an arbitrary character location which causes the message breaks to appear mid-line and even mid-word.
It would be nicer if the split was done on a line-break (if there was one reasonably close to the limit), or at whitespace (again, if close enough).