message correction does not handle chat switching
steps to reproduce
- ctrl+up to correct last message
- before posting correction, switch to a different chat
- type message and hit enter
expected behavior
After switching chats, I expect the new chat to work normally and the original chat to remain in message correction mode.
actual behavior
The message correction background color caries over to the new chat. After typing a message in the new chat and hitting enter, the message does not post, and the background color goes back to normal. The original chat goes back to normal message input mode.