diff --git a/static/protocol.js b/static/protocol.js index 3dfb3b3..59ab1ed 100644 --- a/static/protocol.js +++ b/static/protocol.js @@ -2170,7 +2170,7 @@ ServerConnection.prototype.fileTransfer = function(id, username, message) { console.error(`Unexpected ${message.type} for file transfer`); return; } - f.event('cancelled'); + f.event('cancelled', message.value || null); f.close(); break; }