Skip to content

Commit 1166c7f

Browse files
committed
Fix
1 parent 643a574 commit 1166c7f

3 files changed

Lines changed: 18 additions & 2 deletions

File tree

src/file_ref_map.dat

228 Bytes
Binary file not shown.

src/file_ref_map.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

tools/FileRefExtractor/BuildMode/Ast.php

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,22 @@ public function addNode(TLContext $ctx, ?array $action = null, ?string $why = nu
291291
];
292292
}
293293

294+
$needsNotParents = [];
295+
if ($action['_'] === 'getMessageOp') {
296+
$needsNotParents = [
297+
[
298+
'_' => 'predicate',
299+
'predicate' => 'messages.getScheduledMessages',
300+
'is_constructor' => false,
301+
],
302+
[
303+
'_' => 'predicate',
304+
'predicate' => 'updateNewScheduledMessage',
305+
'is_constructor' => true,
306+
],
307+
];
308+
}
309+
294310
$out = [
295311
'_' => 'source',
296312
'predicate' => [
@@ -301,7 +317,7 @@ public function addNode(TLContext $ctx, ?array $action = null, ?string $why = nu
301317
'stored_constructor' => $constructor,
302318
'stored_params' => array_column($this->stored, 'extractor'),
303319
'skipped_flags' => $skipped,
304-
'needs_not_parents' => [],
320+
'needs_not_parents' => $needsNotParents,
305321
];
306322
if ($this->needsParent !== null) {
307323
$out['needs_parent'] = [

0 commit comments

Comments
 (0)