mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 12:57:52 +00:00
Fix wrapped function invocations
This commit is contained in:
parent
9c441ff16d
commit
7c3c0565b4
@ -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…
x
Reference in New Issue
Block a user