mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-28 16:04:24 -04:00
Ignore Some Typing
This commit is contained in:
parent
54c3b33315
commit
d79aa162d2
3 changed files with 10 additions and 0 deletions
|
@ -256,6 +256,7 @@ async function SendInChat(onClose) {
|
|||
const preview = generateFileNamePreview(recentmessage.content);
|
||||
const imageName = `${preview} - ${recentmessage.author.username}`;
|
||||
const file = new File([image], `${imageName}.png`, { type: "image/png" });
|
||||
// @ts-expect-error typing issue
|
||||
UploadHandler.promptToUpload([file], getCurrentChannel(), 0);
|
||||
onClose();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue