about summary refs log tree commit diff
path: root/src/screens/Messages/Conversation/MessageInput.web.tsx
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-05-31 18:41:06 +0300
committerGitHub <noreply@github.com>2024-05-31 10:41:06 -0500
commit8eb3cebb362cc438e368a9fbb78e2f85403ffeed (patch)
tree3c82cd4701c830a43e7f13825fc912304069625c /src/screens/Messages/Conversation/MessageInput.web.tsx
parent455937dd0f7248033f412f53f7d2be89978aa4f2 (diff)
downloadvoidsky-8eb3cebb362cc438e368a9fbb78e2f85403ffeed.tar.zst
[🐴] send record via link in text (Record DMs - base PR) (#4227)
* send record via link in text

* re-trim text after removing link
Diffstat (limited to 'src/screens/Messages/Conversation/MessageInput.web.tsx')
-rw-r--r--src/screens/Messages/Conversation/MessageInput.web.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screens/Messages/Conversation/MessageInput.web.tsx b/src/screens/Messages/Conversation/MessageInput.web.tsx
index 5d8d568ff..a61355e55 100644
--- a/src/screens/Messages/Conversation/MessageInput.web.tsx
+++ b/src/screens/Messages/Conversation/MessageInput.web.tsx
@@ -43,7 +43,7 @@ export function MessageInput({
       return
     }
     clearDraft()
-    onSendMessage(message.trimEnd())
+    onSendMessage(message)
     setMessage('')
   }, [message, onSendMessage, _, clearDraft])