fix(files_sharing): Fix getting shares by path#16988
Conversation
|
/backport to stable33 |
809cca1 to
e6ae3fa
Compare
e6ae3fa to
641ce97
Compare
- Match both parent and child share - Improve path matching with `/_%`. - Filter share by path in `resolveSharesForRecipient` Signed-off-by: Louis Chmn <louis@chmn.me>
641ce97 to
6115ef8
Compare
nickvergessen
left a comment
There was a problem hiding this comment.
Anything specific we can/should add test-wise? The PR description and commit message (fix) seem to indicate a bug, but I assume its only the upcoming performance improvement?
My only question would be whether This might be linked to the failing tests on the PR. |
I assume the events Lines 34 to 35 in c8c2121 So if one of them is no longer triggered when loading a specific share for a user, that's possible. |
|
The So yeah, from talk's pov we always expect the Talk/ folder being used and that should result in the USERROM share, so we don't have to replace all the time and it's not moved when you change your directory later (e.g. in case you sort by Talk/$Year/ ) |
|
Backporting to see the result of CI on 33 |
|
/backport! to stable33 |
Signed-off-by: Joas Schilling <coding@schilljs.com>
/_%.resolveSharesForRecipient