Drag and drop files (#283)

* Add file drop

* Skip if no files are droped

* Show the page is not accepting file on the welcome page
This commit is contained in:
ginnyTheCat 2022-02-03 15:40:22 +01:00 committed by GitHub
parent b155d7d1ba
commit 552a324e08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 1 deletions

View file

@ -108,6 +108,7 @@ const cons = {
},
roomsInput: {
MESSAGE_SENT: 'MESSAGE_SENT',
ATTACHMENT_SET: 'ATTACHMENT_SET',
FILE_UPLOADED: 'FILE_UPLOADED',
UPLOAD_PROGRESS_CHANGES: 'UPLOAD_PROGRESS_CHANGES',
FILE_UPLOAD_CANCELED: 'FILE_UPLOAD_CANCELED',