Skip to content

Commit e3e48b4

Browse files
committed
skip all types but users, as E2E secure share is only allowed to users on same server
Signed-off-by: alperozturk <[email protected]>
1 parent e73a828 commit e3e48b4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/src/main/java/it/niedermann/owncloud/notes/share/helper/UsersAndGroupsSearchProvider.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,8 @@ public Cursor searchForUsersOrGroups(String userQuery, boolean isFederationShare
122122
}
123123

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

130129
switch (type) {

0 commit comments

Comments
 (0)