1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 04:59:00 +01:00
This commit is contained in:
Daniil Gentili 2024-03-08 14:10:46 +01:00
parent e218632ffd
commit f78309e2f4
4 changed files with 6552 additions and 212 deletions

2
docs

@ -1 +1 @@
Subproject commit b7104e4c18ccec8c0fc94950f3d73768ba927fda
Subproject commit 52232ea10ed26c86e5ca6bd6b3c217a9fecc986f

View File

@ -1568,9 +1568,9 @@ final class MTProto implements TLCallback, LoggerGetter, SettingsGetter
if (!\extension_loaded('uv')) {
$warning .= "<p>".htmlentities(sprintf(Lang::$current_lang['extensionRecommended'], 'uv'))."</p>";
}
if (Magic::$hasBasedirLimitation) {
$warning .= "<p>".htmlentities(Lang::$current_lang['extensionRecommended'])."</p>";
}
/*if (Magic::$hasBasedirLimitation) {
$warning .= "<p>".htmlentities(Lang::$current_lang['baseDirLimitation'])."</p>";
}*/
if (Lang::$currentPercentage !== 100) {
$warning .= "<p>".sprintf(Lang::$current_lang['translate_madelineproto_web'], Lang::$currentPercentage)."</p>";
}

File diff suppressed because it is too large Load Diff

View File

@ -410,10 +410,12 @@ final class Builder
|| $arr['predicate'] === 'rpc_result'
|| !$arr['encrypted']
) && (
$arr['predicate'] === 'rpc_error'
$arr['predicate'] !== 'rpc_error'
)
);
$this->m("deserialize", "return {$this->buildTypes($initial_constructors)};", 'mixed', true, static: false);
$this->m("deserialize_type_Object", "return {$this->buildTypes($initial_constructors)};", 'mixed', true, static: false);
$this->w("}\n");