[🐴] send record via link in text (Record DMs - base PR) (#4227)

* send record via link in text

* re-trim text after removing link
This commit is contained in:
Samuel Newman
2024-05-31 18:41:06 +03:00
committed by GitHub
parent 455937dd0f
commit 8eb3cebb36
7 changed files with 99 additions and 51 deletions
@@ -63,7 +63,7 @@ export function MessageInput({
return
}
clearDraft()
onSendMessage(message.trimEnd())
onSendMessage(message)
playHaptic()
setMessage('')