enh: channel read/write perm
This commit is contained in:
1 parent
6d69ea3ac7
commit
ac879513e5
8 files changed
+58
-14
No files matched your search
@@ -201,6 +201,10 @@
|
||||
<div class=" pb-[1rem] px-2.5 w-full">
|
||||
<MessageInput
|
||||
id={threadId}
|
||||
disabled={!channel?.write_access}
|
||||
placeholder={!channel?.write_access
|
||||
? $i18n.t('You do not have permission to send messages in this thread.')
|
||||
: $i18n.t('Reply to thread...')}
|
||||
typingUsersClassName="from-gray-50 dark:from-gray-850"
|
||||
{typingUsers}
|
||||
userSuggestions={true}
|
||||
|
||||
Reference in new issue
Block a user