Added keystroke triggered marking of chats as read in chatbox
This commit is contained in:
@ -52,6 +52,7 @@ class ChatBox extends ImmutablePureComponent {
|
||||
}
|
||||
|
||||
handleKeyDown = (e) => {
|
||||
this.markRead();
|
||||
if (e.key === 'Enter' && e.shiftKey) {
|
||||
this.insertLine();
|
||||
e.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user