diff --git a/lib/Controller/APIController.php b/lib/Controller/APIController.php index d0f7d0aa6..8ffa0a69e 100644 --- a/lib/Controller/APIController.php +++ b/lib/Controller/APIController.php @@ -189,18 +189,6 @@ public function selfTestPush(): DataResponse { ); } - if (!$this->request->isUserAgent([ - IRequest::USER_AGENT_TALK_ANDROID, - IRequest::USER_AGENT_TALK_IOS, - IRequest::USER_AGENT_CLIENT_ANDROID, - IRequest::USER_AGENT_CLIENT_IOS, - ])) { - return new DataResponse( - ['message' => $this->l->t('The device does not seem to be supported')], - Http::STATUS_BAD_REQUEST, - ); - } - $notification = $this->notificationManager->createNotification(); $datetime = $this->timeFactory->getDateTime(); $isTalkApp = $this->request->isUserAgent([