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

Indicate when you can't send to a room #265

Open
ulyssa opened this issue Apr 14, 2024 · 0 comments
Open

Indicate when you can't send to a room #265

ulyssa opened this issue Apr 14, 2024 · 0 comments
Labels
good first issue Good for newcomers ui Issues related to rendering, widgets, or general terminal-related issues

Comments

@ulyssa
Copy link
Owner

ulyssa commented Apr 14, 2024

Some rooms require a power level greater than what most members have to be able to send messages to it. There is a Room::can_user_send_message that takes care of doing the power-level checks. This could be used in refresh_rooms to take care of periodically updating a readonly: bool field on each RoomInfo object, which can then be used to disable the message bar when the user is not allowed to send.

@ulyssa ulyssa added good first issue Good for newcomers ui Issues related to rendering, widgets, or general terminal-related issues labels Apr 14, 2024
@ulyssa ulyssa added this to the Future Release milestone Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers ui Issues related to rendering, widgets, or general terminal-related issues
Projects
None yet
Development

No branches or pull requests

1 participant