Describe the bug
Miunie encounters an unexpected error when trying to send a message into a channel she doesn't have permissions to send messages to.
To Reproduce
Steps to reproduce the behavior:
1) Launch the UWP application.
2) Select Servers, Programming with Peter.
3) Select # notifications and #rules
4) Type in a message and send it.
5) Notice that an error message displays "unexpected error occurred".
Expected behavior
Either read-only channels should not be visible or the text box should be disabled with a "You do not have permissions to send messages into this channel" in the texbox placeholder..
Describe the bug Miunie encounters an unexpected error when trying to send a message into a channel she doesn't have permissions to send messages to.
To Reproduce Steps to reproduce the behavior: 1) Launch the UWP application. 2) Select Servers, Programming with Peter. 3) Select # notifications and #rules 4) Type in a message and send it. 5) Notice that an error message displays "unexpected error occurred".
Expected behavior Either read-only channels should not be visible or the text box should be disabled with a "You do not have permissions to send messages into this channel" in the texbox placeholder..
Additional context
This secion of our code base is responsible for getting the channels and sending messages to it.
This code will most likely need to change. Depending on the way you decide to fix this issue, UWP views and ViewModels might change, too.