Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(mentions): fix @everyone inserting incorrectly sometimes #10245

Merged
merged 1 commit into from
Apr 11, 2023

Conversation

jrainville
Copy link
Member

Fixes #10212

The problem was that we were detecting that the name was empty string and comparing to another empty string and inserting that, which is incorrect.

There was also a problem with the detection of the name being completely written. onKeyPressed didn't take into account the new letter added, onKeyReleased does.

I did some small clean ups too.

Fixes #10212

The problem was that we were detecting that the name was empty string and comparing to another empty string and inserting that, which is incorrect.

There was also a problem with the detection of the name being completely written. onKeyPressed didn't take into account the new letter added, onKeyReleased does.
@jrainville jrainville requested review from a team, IvanBelyakoff and mprakhov and removed request for a team April 7, 2023 22:17
@status-im-auto
Copy link
Member

status-im-auto commented Apr 7, 2023

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ b9a5c7f #1 2023-04-07 22:22:52 ~5 min tests/nim 📄log
✔️ b9a5c7f #1 2023-04-07 22:23:50 ~6 min tests/imports 📄log
✔️ b9a5c7f #1 2023-04-07 22:27:08 ~9 min macos/x86_64 🍎dmg
✔️ b9a5c7f #1 2023-04-07 22:29:27 ~12 min linux/x86_64 📦tgz
✔️ b9a5c7f #1 2023-04-07 22:32:57 ~15 min tests/e2e 📄log
✔️ b9a5c7f #1 2023-04-07 22:44:18 ~26 min windows/x86_64 💿exe

Copy link
Member

@caybro caybro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Community: can't use @everyone in community channel
5 participants