Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

Option to resend edited messages. #26

Open
creesch opened this issue Mar 28, 2017 · 2 comments
Open

Option to resend edited messages. #26

creesch opened this issue Mar 28, 2017 · 2 comments

Comments

@creesch
Copy link
Owner

creesch commented Mar 28, 2017

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

Scrxtchy commented Mar 29, 2017

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

@creesch
Copy link
Owner Author

creesch commented Mar 29, 2017

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants