diff --git a/dev/View/Popup/OpenPgpImport.js b/dev/View/Popup/OpenPgpImport.js index c62695f74..90f7e5c84 100644 --- a/dev/View/Popup/OpenPgpImport.js +++ b/dev/View/Popup/OpenPgpImport.js @@ -32,7 +32,7 @@ export class OpenPgpImportPopupView extends AbstractViewPopup { searchPGP() { this.key(i18n('SUGGESTIONS/SEARCHING_DESC')); - const fn = () => Remote.request('SearchPGPKey', + const fn = () => Remote.request('PgpSearchKey', (iError, oData) => { if (iError) { this.key(oData.ErrorMessage); diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Pgp.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Pgp.php index 1429260cd..4389dc326 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Pgp.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Pgp.php @@ -36,7 +36,7 @@ trait Pgp return $this->DefaultResponse(\array_values(\array_unique($result))); } - public function DoSearchPGPKey() : array + public function DoPgpSearchKey() : array { $result = Keyservers::get( $this->GetActionParam('query', '')