Bounce XEP-0308 (Message Correction) messages instead of forwarding them
When a client sends a XEP—0308 message correction, biboumi extracts the body (i.e. the corrected message) and forwards that as new message to IRC.
Problem with the current state
Especially on long messages or minor errors, this can lead to suboptimal/confusing experience on the IRC side, where you are confronted with two very similar / long messages and have to figure out why it was sent twice.
Biboumi could, instead of forwarding '308 message bodies to IRC, reject them with feature-not-implemented and an appropriate error message (e.g. "This room is mapped from IRC, which does not support message correction").
- Direct feedback to the user that the behaviour will be different than anticipated
- Gives the user the choice to re-send the corrected message in its entirety, or resort to a different convention to annotate corrections (e.g. the common "asterisk" notation).
- May confuse some clients, or clients may not render the error message usefully