Skip to content

Conversation

@CarlSchwan
Copy link
Member

In the case where the user didn't change their default notes folder.

In the worst case, if the user did change their default notes folder we keep the same amount of queries as before.

'notesPath' => [
'default' => function (string $uid) {
return $this->getDefaultNotesPath($uid);
return $this->getDefaultNotesNode($uid)['path'];
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not the biggest fan of that, I wonder if it would make sense to keep the old getDefaultNotesPath as it is for this part

Copy link
Contributor

@enjeck enjeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ci is failing :|

…times

In the case where the user didn't change their default notes folder.

In the worst case, if the user did change their default notes folder we
keep the same amount of queries as before.

Signed-off-by: Carl Schwan <carl.schwan@nextclound.com>
@AndyScherzinger AndyScherzinger force-pushed the avoid-checking-existence-3-times branch from 07e3578 to c4b3f38 Compare January 21, 2026 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants