Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

Revoke/undo a command that you invoked? #259

Open
xbenjii opened this issue Jan 15, 2016 · 3 comments
Open

Revoke/undo a command that you invoked? #259

xbenjii opened this issue Jan 15, 2016 · 3 comments

Comments

@xbenjii
Copy link

xbenjii commented Jan 15, 2016

Is there any reason this is RO only?

I feel that if you invoked the command, then you should be able to revoke it.

@xbenjii xbenjii changed the title Revoke/delete a command that you invoked? Revoke/undo a command that you invoked? Jan 15, 2016
@Zirak
Copy link
Owner

Zirak commented Jan 16, 2016

Laziness. You're right that you should be able to undo your own commands, but that's not entirely trivial. It requires both storing who did what and handling ranges. Not terribly difficult, but, as said, lazy.

@xbenjii
Copy link
Author

xbenjii commented Jan 16, 2016

What about storing them in localStorage, with a max age of 5 minutes or so?

@MadaraUchiha
Copy link

For starters, any chat user can only delete their own messages within 2 minutes of posting anyway, so if there's a storage, it'd be for 2 minutes.

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

3 participants