diff --git a/Controller/DeviceController.php b/Controller/DeviceController.php index 096eb4b..e1e1c7b 100644 --- a/Controller/DeviceController.php +++ b/Controller/DeviceController.php @@ -173,6 +173,7 @@ public function registerGCMRegistrationIDAction(ParamFetcher $paramFetcher) $device->setAppVersion($appVersion); $device->setAppId($appId); $device->setState(Device::STATE_PRODUCTION); + $device->setStatus(DeviceStatus::DEVICE_STATUS_ACTIVE); $deviceManager->saveDevice($device); return null;