1
Fork 0

Pass file transfer cancel message to callback.

This commit is contained in:
Juliusz Chroboczek 2023-04-28 16:57:00 +02:00
parent 8f1bc93cca
commit e786e1bd11
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}