element-hq / element-hq/element-android

"Pillified" names disappear from incomplete messages if you leave the room

Open
#4,081 0 comments 0 reactions 0 assignees View on GitHub
T-Defect
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

### Steps to reproduce

1. Begin to write message in any room
2. Use "mention" function on someone's profile to insert their "pillified" name
3. Leave the room without sending the message
4. Return to the room
5. Observe that pill has been removed

### What happened?

I have noticed a minor error with "pillified" names (when you tag a username or room and it creates a graphical insert in your message rather than just text).

If you are writing a message in any room or chat, and you have inserted the pillified name/tag, but you leave that screen for any reason without sending the message - it could be minimizing the app or switching out of the room to another one or even just back to the home screen - when you reenter the room, all the pills will have reverted back to normal text, which you have to reinsert again if you want to complete the message.

### Your phone model

Samsung Galaxy S9

### Operating system version

Android 10.0

### Application version and app store

Element 1.2.2

### Homeserver

_No response_

### Have you submitted a rageshake?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.