file permission

pull/1073/head
TeamAbronDev 2025-01-02 16:45:39 +03:30
parent a0b4e420e5
commit 4de7aae3c7
2 changed files with 4 additions and 4 deletions

2
.env
View File

@ -1,2 +1,2 @@
VITE_API_URL=https://peptide.chat/api
# VITE_API_URL=http://local.revolt.chat:8000
#VITE_API_URL=http://local.revolt.chat:8000

View File

@ -627,7 +627,7 @@ export default observer(({ channel }: Props) => {
)}
</FloatingLayer>
<Base>
{channel.havePermission("UploadFiles") ? (
{/* {channel.havePermission("UploadFiles") ? ( */}
<FileAction>
<FileUploader
size={24}
@ -664,9 +664,9 @@ export default observer(({ channel }: Props) => {
}}
/>
</FileAction>
) : (
{/* ) : (
<ThisCodeWillBeReplacedAnywaysSoIMightAsWellJustDoItThisWay__Padding />
)}
)} */}
<TextAreaAutoSize
autoFocus
hideBorder