discordIRCd icon indicating copy to clipboard operation
discordIRCd copied to clipboard

Option to resend edited messages.

Open creesch opened this issue 8 years ago • 2 comments
trafficstars

  • Needs to be an option.
  • When enabled resend messages should be prepended with edited:.

creesch avatar Mar 28 '17 15:03 creesch

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

Scrxtchy avatar Mar 29 '17 05:03 Scrxtchy

Good point and good solution. I'll implement it like that.

creesch avatar Mar 29 '17 13:03 creesch