Add text file post functionality

This commit is contained in:
kwaroran
2024-02-27 01:29:58 +09:00
parent fbb53fcc61
commit ff16ffde0c
4 changed files with 75 additions and 23 deletions

View File

@@ -651,6 +651,10 @@
messageInput += res.data
updateInputSizeAll()
}
if(res?.type === 'text'){
messageInput += `{{file::${res.name}::${res.data}}}`
updateInputSizeAll()
}
}}>
<ImagePlusIcon />
<span class="ml-2">{language.postFile}</span>