diff --git a/public/js/RoomClient.js b/public/js/RoomClient.js index eb209623..1f80c6ba 100644 --- a/public/js/RoomClient.js +++ b/public/js/RoomClient.js @@ -2029,6 +2029,10 @@ class RoomClient { userLog('warning', 'You cannot send files to yourself.', 'top-end'); return; } + if (this.sendInProgress) { + userLog('warning', 'Please wait for the previous file to be sent.', 'top-end'); + return; + } if (e.dataTransfer.items && e.dataTransfer.items.length > 1) { userLog('warning', 'Please drag and drop a single file.', 'top-end'); return;