diff --git a/patches/005-autocomplete-user-leak-core.patch b/patches/005-autocomplete-user-leak-core.patch index 191de05ea130e4b7f703b67197f78d9ed75fb778..ea8b0f9f76bb73e9b1266c06fad1cb19e0d93a02 100644 --- a/patches/005-autocomplete-user-leak-core.patch +++ b/patches/005-autocomplete-user-leak-core.patch @@ -73,7 +73,7 @@ diff --git lib/private/Collaboration/Collaborators/MailPlugin.php lib/private/Co + 'name' => $contact['FN'], + 'type' => $emailAddressType ?? '', + 'value' => [ -+ 'shareType' => Share::SHARE_TYPE_EMAIL, ++ 'shareType' => IShare::TYPE_EMAIL, + 'shareWith' => $emailAddress, + ], + ]; @@ -86,7 +86,7 @@ diff --git lib/private/Collaboration/Collaborators/MailPlugin.php lib/private/Co + $result['exact'][] = [ + 'label' => $displayName, + 'value' => [ -+ 'shareType' => Share::SHARE_TYPE_USER, ++ 'shareType' => IShare::TYPE_USER, + 'shareWith' => $emailAddress, + ], + ]; @@ -111,7 +111,7 @@ diff --git lib/private/Collaboration/Collaborators/MailPlugin.php lib/private/Co + 'name' => $contact['FN'], + 'type' => $emailAddressType ?? '', + 'value' => [ -+ 'shareType' => Share::SHARE_TYPE_EMAIL, ++ 'shareType' => IShare::TYPE_EMAIL, + 'shareWith' => $emailAddress, + ], + ]; @@ -124,7 +124,7 @@ diff --git lib/private/Collaboration/Collaborators/MailPlugin.php lib/private/Co + $result['wide'][] = [ + 'label' => $displayName, + 'value' => [ -+ 'shareType' => Share::SHARE_TYPE_USER, ++ 'shareType' => IShare::TYPE_USER, + 'shareWith' => $emailAddress, + ], + ];