diff --git a/lib/Service/ApiService.php b/lib/Service/ApiService.php index 972990243b6..2d277d3f4a9 100644 --- a/lib/Service/ApiService.php +++ b/lib/Service/ApiService.php @@ -181,9 +181,6 @@ public function push(Session $session, Document $document, int $version, array $ // Session was removed in the meantime. #3875 return new DataResponse(['error' => $this->l10n->t('Editing session has expired. Please reload the page.')], Http::STATUS_PRECONDITION_FAILED); } - if (empty($steps)) { - return new DataResponse([]); - } try { $result = $this->documentService->addStep($document, $session, $steps, $version, $token); $this->addToPushQueue($document, [$awareness, ...array_values($steps)]);