element-hq / element-x-android

Android Matrix messenger application using the Matrix Rust Sdk and Jetpack Compose
GNU Affero General Public License v3.0
1.08k stars 155 forks source link

Emptiing the composer when editing the message allow to record a voice message #3756

Open bmarty opened 2 weeks ago

bmarty commented 2 weeks ago

Steps to reproduce

  1. Send a message like "Test"
  2. Edit the message
image
  1. Empty the composer
  2. Observe that it's now possible to record a voice message
image

Note that the microphone icon is also displayed when replying to a message, and this is more visible since when the user starts to reply the composer is empty.

Outcome

What did you expect?

When editing a message it should not be possible to record a voice message

What happened instead?

The microphone is displayed, so I can record a voice message

Your phone model

Any

Operating system version

Any

Application version and app store

0.7.2 and previous

Homeserver

NA

Will you send logs?

No

Are you willing to provide a PR?

No