Skip to content

alternateText can't be an empty string. #955 #956

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

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

bmarty
Copy link
Member

@bmarty bmarty commented Jul 24, 2023

Fixes #955

  • send a message in a room with empty link on a room permalink. for instance: [](https://matrix.to/#/!hiTxAqnIVpMUQTHCUN:matrix.org?via=matrix.org)
  • Open the room with this message on Element X Android.

Previous behavior

The app crash

With this PR

The app is not crashing and is displaying a fallback string in the timeline:

image

Note: The PR fixes the crashes, but does not improve rendering of pills, this will be done when we will integrate the rich text editor.

@bmarty bmarty requested a review from a team as a code owner July 24, 2023 15:19
@bmarty bmarty requested review from julioromano and removed request for a team July 24, 2023 15:19
@github-actions
Copy link
Contributor

📱 Scan the QR code below to install the build (arm64 only) for this PR.
QR code
If you can't scan the QR code you can install the build via this link:

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@bmarty bmarty merged commit 9d64edf into develop Jul 25, 2023
@bmarty bmarty deleted the feature/bma/fixAlternateTextCrash branch July 25, 2023 07:43
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.

[Crash] alternateText can't be an empty string.
2 participants