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

The DisabledRoomInputToolbarView isn't shown when you don't have permissions to post #5079

Closed
pixlwave opened this issue Nov 2, 2021 · 0 comments · Fixed by #5087
Closed
Assignees
Labels
A-Composer O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect Something isn't working: bugs, crashes, hangs and other reported problems

Comments

@pixlwave
Copy link
Member

pixlwave commented Nov 2, 2021

Steps to reproduce

  1. Enter a room where you don't have a sufficient power-level to post such as #homeowners:matrix.org

What did you expect to happen?

To see a disabled composer instead of the text view.

What happened?

The app allows me to attempt to send a message which results in a "messages failed to send" error.

Explanation

RoomViewController's updateRoomInputToolbarViewClassIfNeeded is called before the room's data source has been set, so whether or not the user can post is unknown.

Your phone model

iPhone 12

Operating system version

iOS 15.1

Application version

Element 1.6.7 develop

@pixlwave pixlwave added the T-Defect Something isn't working: bugs, crashes, hangs and other reported problems label Nov 2, 2021
@pixlwave pixlwave added A-Composer O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist labels Nov 2, 2021
@pixlwave pixlwave self-assigned this Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Composer O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect Something isn't working: bugs, crashes, hangs and other reported problems
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants