discordIRCd
discordIRCd copied to clipboard
Option to resend edited messages.
trafficstars
- Needs to be an option.
- When enabled resend messages should be prepended with edited:.
Should there be an configurable timeout for edits? Say if someone edits a week old message randomly, it may no longer have any relevance, but is bumped into the buffer
Might be a bit confusing, but if the option was a boolean or a number representation of minutes
if (configuration.timeout && x <= messageAge) {
//resend message
}
If false, or 0, the message won't be resent
true will send it no matter what, or it's number value will have to lower than the age
Good point and good solution. I'll implement it like that.