mirror of
https://github.com/jech/galene.git
synced 2024-11-26 02:25:58 +01:00
Ensure buttons are removed after a transfer is cancelled.
This commit is contained in:
parent
c535f67246
commit
c38c5555b0
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue