Skip to content

Commit

Permalink
skip all types but users, as E2E secure share is only allowed to user…
Browse files Browse the repository at this point in the history
…s on same server

Signed-off-by: alperozturk <[email protected]>
  • Loading branch information
alperozturk96 committed Feb 14, 2025
1 parent 19842c5 commit 705bb37
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,8 @@ public Cursor searchForUsersOrGroups(String userQuery, boolean isFederationShare
}

if (UsersAndGroupsSearchConfig.INSTANCE.getSearchOnlyUsers() && type != ShareType.USER) {
// TODO: Why we need this check?
// skip all types but users, as E2E secure share is only allowed to users on same server
// continue;
continue;
}

switch (type) {
Expand Down

0 comments on commit 705bb37

Please sign in to comment.