mirror of
https://github.com/jech/galene.git
synced 2024-11-09 02:05:59 +01:00
Remove remainder of obsolete file transfer protocol.
This commit is contained in:
parent
ed61b208a9
commit
1745b6294e
1 changed files with 2 additions and 1 deletions
|
@ -1812,7 +1812,7 @@ TransferredFile.prototype.cancel = function(data) {
|
|||
return;
|
||||
if(f.state !== '' && f.state !== 'done' && f.state !== 'cancelled') {
|
||||
let m = {
|
||||
type: f.up ? 'cancel' : 'reject',
|
||||
type: 'cancel',
|
||||
id: f.id,
|
||||
};
|
||||
if(data)
|
||||
|
@ -2232,6 +2232,7 @@ ServerConnection.prototype.fileTransfer = function(id, username, message) {
|
|||
}
|
||||
case 'upice':
|
||||
case 'downice':
|
||||
case 'reject':
|
||||
case 'abort': {
|
||||
let f = sc.getTransferredFile(id, message.id);
|
||||
if(f)
|
||||
|
|
Loading…
Reference in a new issue