Skip to content

Commit

Permalink
Show shared users on first click to dropdown and show searched users …
Browse files Browse the repository at this point in the history
…when user typed name

Signed-off-by: sananirajabov <sananirajabov@gmail.com>
  • Loading branch information
sananirajabov committed Apr 10, 2019
1 parent d9858d3 commit 9894c1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Contacts/ContactsMenu/ContactsStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function getContacts(IUser $user, $filter) {
$sharedUsers = $this->getSharedUsers()->fetchAll();


// Matching who shared something
// Matching who shared with
for ($i = 0; $i < count($sharedUsers); $i++) {
for ($j = 0; $j < count($allContacts); $j++) {
if ($sharedUsers[$i]['share_with'] == $allContacts[$j]['UID']) {
Expand Down

0 comments on commit 9894c1d

Please sign in to comment.