Skip to content

Commit

Permalink
Pass file transfer cancel message to callback.
Browse files Browse the repository at this point in the history
  • Loading branch information
jech committed Apr 28, 2023
1 parent 8f1bc93 commit e786e1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/protocol.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit e786e1b

Please sign in to comment.