mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Fix wrapped function invocations
This commit is contained in:
parent
9c441ff16d
commit
7c3c0565b4
1 changed files with 4 additions and 2 deletions
|
|
@ -351,9 +351,11 @@ class Session:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if isinstance(query, (raw.functions.InvokeWithoutUpdates, raw.functions.InvokeWithTakeout)):
|
if isinstance(query, (raw.functions.InvokeWithoutUpdates, raw.functions.InvokeWithTakeout)):
|
||||||
query = query.query
|
inner_query = query.query
|
||||||
|
else:
|
||||||
|
inner_query = query
|
||||||
|
|
||||||
query_name = ".".join(query.QUALNAME.split(".")[1:])
|
query_name = ".".join(inner_query.QUALNAME.split(".")[1:])
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue