Commit 1745b629 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Remove remainder of obsolete file transfer protocol.

parent ed61b208
...@@ -1812,7 +1812,7 @@ TransferredFile.prototype.cancel = function(data) { ...@@ -1812,7 +1812,7 @@ TransferredFile.prototype.cancel = function(data) {
return; return;
if(f.state !== '' && f.state !== 'done' && f.state !== 'cancelled') { if(f.state !== '' && f.state !== 'done' && f.state !== 'cancelled') {
let m = { let m = {
type: f.up ? 'cancel' : 'reject', type: 'cancel',
id: f.id, id: f.id,
}; };
if(data) if(data)
...@@ -2232,6 +2232,7 @@ ServerConnection.prototype.fileTransfer = function(id, username, message) { ...@@ -2232,6 +2232,7 @@ ServerConnection.prototype.fileTransfer = function(id, username, message) {
} }
case 'upice': case 'upice':
case 'downice': case 'downice':
case 'reject':
case 'abort': { case 'abort': {
let f = sc.getTransferredFile(id, message.id); let f = sc.getTransferredFile(id, message.id);
if(f) if(f)
......
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