diff --git a/src/messenger/webim/js/164/mibewapi.js b/src/messenger/webim/js/164/mibewapi.js index f1ca4f6d..701c5150 100644 --- a/src/messenger/webim/js/164/mibewapi.js +++ b/src/messenger/webim/js/164/mibewapi.js @@ -11,10 +11,10 @@ e;a:for(e in a.arguments)for(c=0;cinteraction->getDefaultObligatoryArguments('result'); + $arguments = $result_arguments + $this->interaction->getObligatoryArgumentsDefaults('result'); $package = array( 'token' => $token, 'functions' => array( diff --git a/src/messenger/webim/libs/classes/mibew_api_interaction.php b/src/messenger/webim/libs/classes/mibew_api_interaction.php index 7688db98..4702b407 100644 --- a/src/messenger/webim/libs/classes/mibew_api_interaction.php +++ b/src/messenger/webim/libs/classes/mibew_api_interaction.php @@ -80,7 +80,7 @@ abstract class MibewAPIInteraction { * @return array Associative array with keys are obligatory arguments and values are default * values of them */ - public function getDefaultObligatoryArguments($function_name) { + public function getObligatoryArgumentsDefaults($function_name) { $obligatory_arguments = array(); // Add obligatory for all functions arguments if (! empty($this->obligatoryArguments['*'])) {