Skip to content

Commit ba44115

Browse files
committed
Bump
1 parent 72161a2 commit ba44115

3 files changed

Lines changed: 13 additions & 4 deletions

File tree

tools/FileRefExtractor/BuildMode/Ast.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,10 @@ public function addNode(TLContext $ctx, ?array $action = null, ?string $why = nu
9191

9292
$names = $this->storedNames;
9393
if ($this->storedFlags) {
94-
$names['flags'] = '#';
94+
$names = [
95+
'flags' => '#',
96+
...$names
97+
];
9598
}
9699

97100
if (isset($this->outputSchema[$constructor])) {

tools/FileRefExtractor/Ops/ConstructorOp.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,11 @@ public function build(TLContext $tl): array
6060
{
6161
$final = [];
6262
$tl->validateParams($this->constructor, true, $this->args);
63-
$orig = $tl->buildMode->curKey;
64-
Assert::notNull($orig);
63+
/*$orig = $tl->buildMode->curKey;
64+
Assert::notNull($orig);*/
6565
foreach ($this->args as $from => $to) {
66-
$final[] = ['_' => 'typedOpArg', 'key' => $from, 'value' => $tl->build($to, "{$orig}_$from")];
66+
//$final[] = ['_' => 'typedOpArg', 'key' => $from, 'value' => $tl->build($to, "{$orig}_$from")];
67+
$final[] = ['_' => 'typedOpArg', 'key' => $from, 'value' => $tl->build($to, $from)];
6768
}
6869
return [
6970
'_' => 'typedOp',

tools/gen_filerefmap.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,11 @@
500500
'from_scheduled' => 'flags.0?true',
501501
'peer' => 'long',
502502
'id' => 'int'
503+
],
504+
'fileSourceStarsTransaction' => [
505+
'flags' => '#',
506+
'id' => 'string',
507+
'refund' => 'flags.0?true',
503508
]
504509
];
505510

0 commit comments

Comments
 (0)