eternagame / HTML-Chat

HTML5 implementation of chat to replace the legacy Flash-based implementation
BSD 3-Clause "New" or "Revised" License
7 stars 5 forks source link

Edit recently sent messages #92

Closed AlexHalb closed 4 years ago

AlexHalb commented 4 years ago

It would be nice to have a feature that would allow a user to edit a message they just sent. I think a lot of people would use it to fix spelling and grammar errors they notice after they send a message. This would probably be similar to Slack and Discord where the up arrow key triggers the edit. This might be difficult to implement with our current framework, so it may not be plausible. I figured I might as well through it out there and see if it gets implemented.

luxaritas commented 4 years ago

This is not yet implemented in the IRC protocol. There is a WIP spec: https://github.com/ircv3/ircv3-specifications/pull/304 The latest comment there says that they are going to be creating a new version of that draft spec based on https://gist.github.com/jesopo/ef44e928aeb1c893e722909608960b1b

This will need to get supported by txircd before we can implement it in the client. We can of course create our own implementation before it gets ratified (and that can help in the process of getting it ratified), though it might be good to wait until the new version of the spec is available.

A couple related issues: