matrix-appservice-discord icon indicating copy to clipboard operation
matrix-appservice-discord copied to clipboard

Split up long messages (>2000 characters) to circumvent discords character limit.

Open TildeSlashC0re opened this issue 5 years ago • 6 comments

Long messages (exceeding discords character limit) are currently dropped completely and therefore never make it to discord in one form or another.

Might be a good idea to either split these into chunks and send them over or to provide a permalink to the matrix-message. (that's the way the irc-appservice currently handles overly long messages)

TildeSlashC0re avatar Jul 06 '18 21:07 TildeSlashC0re

Given the size limit being as large as it is, I'd just split them into separate messages. We can easily batch messages together.

Half-Shot avatar Jul 10 '18 08:07 Half-Shot

late annotation:

you might also want to preemptively think of an elegant way of handling replies to very long messages

TildeSlashC0re avatar Nov 05 '18 18:11 TildeSlashC0re

Ugh, yeah that too.

Half-Shot avatar Nov 05 '18 19:11 Half-Shot

Seems like this is still problematic.

It'd be helpful if the Discord bot told you that sending a message failed. Right now, it's just a log entry like "[DiscordBot] warn: Failed to send message ..." with no indication in your Matrix client.

I didn't know my message was not being delivered until someone explicitly asked me "why didn't you send what you promised you would". Well, because I sent too long of a message and the bridge silently failed me ;)

spantaleev avatar Jun 16 '21 06:06 spantaleev

Yeah this is still a pretty major issue.

JulianGro avatar Aug 30 '22 20:08 JulianGro

<username> sent a large message. Original message body included in the attachment.

erkinalp avatar Oct 20 '22 19:10 erkinalp