Delete recordings from synced cached recordings

This commit is contained in:
0xboobface 2018-12-10 21:08:55 +01:00
parent 02e080b70e
commit 0fe9d9677a
1 changed files with 2 additions and 0 deletions

View File

@ -352,6 +352,8 @@ public class RemoteRecorder implements Recorder {
if(response.isSuccessful()) {
if(!resp.status.equals("success")) {
throw new IOException("Couldn't delete recording: " + resp.msg);
} else {
recordings.remove(recording);
}
} else {
throw new IOException("Couldn't delete recording: " + resp.msg);