Delete recordings from synced cached recordings
This commit is contained in:
parent
02e080b70e
commit
0fe9d9677a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue