Skip to content

fix (event action): allow to edit only if permission to send message #4895

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 2 commits into from
Jun 18, 2025

Conversation

ganfra
Copy link
Member

@ganfra ganfra commented Jun 18, 2025

Content

What the title says.

Motivation and context

Improve experience.

Screenshots / GIFs

Tests

  • Step 1
  • Step 2
  • Step ...

Tested devices

  • Physical
  • Emulator
  • OS version(s):

Checklist

  • Changes have been tested on an Android device or Android emulator with API 24
  • UI change has been tested on both light and dark themes
  • Accessibility has been taken into account. See https://github.com/element-hq/element-x-android/blob/develop/CONTRIBUTING.md#accessibility
  • Pull request is based on the develop branch
  • Pull request title will be used in the release note, it clearly define what will change for the user
  • Pull request includes screenshots or videos if containing UI changes
  • You've made a self review of your PR

@ganfra ganfra added the PR-Bugfix For bug fix label Jun 18, 2025
@ganfra ganfra marked this pull request as ready for review June 18, 2025 14:21
@ganfra ganfra requested a review from a team as a code owner June 18, 2025 14:21
@ganfra ganfra requested review from bmarty and removed request for a team June 18, 2025 14:21
Comment on lines 551 to 552
// val loadingState = awaitItem()
// assertThat(loadingState.target).isEqualTo(ActionListState.Target.Loading(messageEvent))
Copy link
Member

Choose a reason for hiding this comment

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

Should we remove these?

Copy link
Member

@jmartinesp jmartinesp left a comment

Choose a reason for hiding this comment

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

LGTM besides the commented out code.

Copy link
Contributor

github-actions bot commented Jun 18, 2025

📱 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: https://i.diawi.com/fT2FbW

@ganfra ganfra force-pushed the feature/fga/can-edit-permission branch from 2273fe8 to 713bae0 Compare June 18, 2025 14:46
@ganfra ganfra enabled auto-merge June 18, 2025 14:50
Copy link

@ganfra ganfra disabled auto-merge June 18, 2025 15:28
@ganfra ganfra merged commit 680b63d into develop Jun 18, 2025
27 of 28 checks passed
@ganfra ganfra deleted the feature/fga/can-edit-permission branch June 18, 2025 15:29
@RokeJulianLockhart
Copy link

Previously, was an edit made in this manner discarded, or does this PR remove functionality that used to be available, even if it didn't per se make sense to exist?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR-Bugfix For bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants