mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-25 15:12:08 -05:00
Merge pull request #257 from brecert/no-send-composing
This commit is contained in:
commit
6407f3b924
1 changed files with 21 additions and 20 deletions
|
@ -523,6 +523,7 @@ export default observer(({ channel }: Props) => {
|
|||
|
||||
if (
|
||||
!e.shiftKey &&
|
||||
!e.isComposing &&
|
||||
e.key === "Enter" &&
|
||||
!isTouchscreenDevice
|
||||
) {
|
||||
|
|
Loading…
Reference in a new issue