Fixing issue with notification sending logic

This commit is contained in:
Ace 2018-10-06 15:46:47 +05:30
parent 59bc8db4b1
commit 4b08dd6053

View File

@ -251,7 +251,7 @@ public class OperationManagerImpl implements OperationManager {
}
OperationManagementDAOFactory.commitTransaction();
if (isScheduled) {
if (!isScheduled) {
for (Device device : authorizedDevices) {
this.sendNotification(operation, device);
}