merge and add opened comment view

This commit is contained in:
isUnknown 2024-10-29 16:13:07 +01:00
parent c3860d4a38
commit 4e4216f8d3
6 changed files with 164 additions and 134 deletions

View file

@ -17,7 +17,7 @@ return [
$newComment = [
'pageUri' => $data->pageUri,
'fileUuid' => (string) $file->uuid(),
'filePageTarget' => $data->targetPage,
'filePageIndex' => $data->filePageIndex,
'position' => [
'x' => null,
'y' => null
@ -40,7 +40,7 @@ return [
'comments' => $comments
]);
$user->sendNotification('comments', $newComment);
// $user->sendNotification('comments', $newComment);
return getFileData($newFile);
}