mirror of
https://github.com/jech/galene.git
synced 2024-11-26 10:35:59 +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;
|
break;
|
||||||
}
|
}
|
||||||
case 'cancelfile': {
|
case 'cancelfile': {
|
||||||
setFileStatus(false, id, message.id, 'Cancelled.');
|
setFileStatus(false, id, message.id, 'Cancelled.', true, true);
|
||||||
deleteTransferredFile(false, id, message.id);
|
deleteTransferredFile(false, id, message.id);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -2654,7 +2654,7 @@ function gotUserMessage(id, dest, username, time, privileged, kind, message) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 'rejectfile': {
|
case 'rejectfile': {
|
||||||
setFileStatus(true, id, message.id, 'Rejected.');
|
setFileStatus(true, id, message.id, 'Rejected.', true, true);
|
||||||
deleteTransferredFile(true, id, message.id);
|
deleteTransferredFile(true, id, message.id);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue