stream-chat-react
stream-chat-react copied to clipboard
bug: editing a message with url adds a bogus attachment (image)
Describe the bug
editing a message with url adds a bogus attachment (image).
To Reproduce
Steps to reproduce the behavior:
- start the examples/typescript app (not relevant, any vanilla setup works)
- send
https://youtube.com/message - edit the message. Change the protocol from
httpstohttp. - Submit
- Two attachments appear - a plain image and an URL preview.
Expected behavior
Only the URL attachment should remain.
If applicable, add screenshots to help explain your problem.
Package version
- stream-chat-react: 8.1.1
- stream-chat-css: 6.5.0