Commit c38c5555 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Ensure buttons are removed after a transfer is cancelled.

parent c535f672
......@@ -2645,7 +2645,7 @@ function gotUserMessage(id, dest, username, time, privileged, kind, message) {
break;
}
case 'cancelfile': {
setFileStatus(false, id, message.id, 'Cancelled.');
setFileStatus(false, id, message.id, 'Cancelled.', true, true);
deleteTransferredFile(false, id, message.id);
break;
}
......@@ -2654,7 +2654,7 @@ function gotUserMessage(id, dest, username, time, privileged, kind, message) {
break;
}
case 'rejectfile': {
setFileStatus(true, id, message.id, 'Rejected.');
setFileStatus(true, id, message.id, 'Rejected.', true, true);
deleteTransferredFile(true, id, message.id);
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