1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-09 18:25:58 +01:00

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

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