Commit a61cb875 authored by Nicolas Fella's avatar Nicolas Fella

Only open file if open is actually true

parent 6e053a7e
......@@ -189,7 +189,7 @@ public class CompositeReceiveFileJob extends BackgroundJob<Device, Void> {
numFiles = totalNumFiles;
}
if (numFiles == 1 && currentNetworkPacket.has("open")) {
if (numFiles == 1 && currentNetworkPacket.getBoolean("open", false)) {
receiveNotification.cancel();
openFile(fileDocument);
} else {
......
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