Do not show message input area when chat is not writable
This MR allows us to hide the message input are when the chat is not writable:
- Chat is a channel and user is not at least admin
- Chat is a secret chat and the chat is either not open or has been closed
This will fix #61 (closed)
Edited by Flo Lee