Enter on blank textbox sends a message with empty body
The textbox's send button is disabled, but the Enter key is not. Pressing it with an empty textbox produces a similar Matrix event:
{
"content": {
"body": "",
"msgtype": "m.text"
},
"event_id": <scrubbed>,
"origin_server_ts": <scrubbed>,
"room_id": <scrubbed>,
"sender": <scrubbed>,
"type": "m.room.message",
"unsigned": {
"age": 180,
"transaction_id": <scrubbed>
}
}
Steps to reproduce
- Open Fractal
- Enter a room
- Put cursor into the textbox
- Press Enter
- Observe empty message being sent.
Information
-
This bug is reproducible from the latest nightly build -
Fractal Version:
5.rc1-f358b0b
- OS Version: shouldn't matter, installed from Flatpak
- Installation Source: Flatpak (GNOME Apps Nightly)
- Homeserver: n/a, purely client-side bug
Edited by Vika