Commit e786e1bd authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Pass file transfer cancel message to callback.

parent 8f1bc93c
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment