element-web
element-web copied to clipboard
RTE - the message is not sent (and lost) if a link is added in it
Steps to reproduce
-
Turn on the RTE from the Labs settings
-
Type a new message by adding a matrix.to link to an event with the composer option:
-
Send the message
Outcome
What did you expect?
the message is sent, and appears in the room timeline
What happened instead?
the composer is empty and no message has been sent
Operating system
No response
Browser information
No response
URL for webapp
No response
Application version
Element version: c64af5671a49-react-552c65db98b5-js-1b7695cdca84 Crypto version: Rust SDK 0.7.0 (fac36bc), Vodozemac 0.5.1
Homeserver
No response
Will you send logs?
No
I can't reproduce this issue; can you please post exactly what was entered in the composer?
I reproduced with Element version: 92c831094d11-react-35ad92bf540a-js-d03db1740586 Crypto version: Rust SDK 0.7.0 (fac36bc), Vodozemac 0.5.1
Here is a screenshot of the composer where "link" is a link to a permalink (matrix.to url):
fyi Logs has been sent
@MidhunSureshR this is working if I don't use matrix.to url for the link
Works for me on the same version with matrix.to link:
Thanks for the logs!
@MidhunSureshR did you test by using the link option of the composer:
Send directly the matrix.to url is working on my side too. The bug is when the link option is used
@giomfo :
https://github.com/element-hq/element-web/assets/7010307/ce269a3e-7e1b-4eda-8cc7-139b4a9ba3d9
@MidhunSureshR
In my case the link is a link to an event (a permalink), not a room link
Can reproduce with a link to an event :+1: