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:
parent
8f1bc93cca
commit
e786e1bd11
1 changed files with 1 additions and 1 deletions
|
@ -2170,7 +2170,7 @@ ServerConnection.prototype.fileTransfer = function(id, username, message) {
|
||||||
console.error(`Unexpected ${message.type} for file transfer`);
|
console.error(`Unexpected ${message.type} for file transfer`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
f.event('cancelled');
|
f.event('cancelled', message.value || null);
|
||||||
f.close();
|
f.close();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue