Fixed cancel by gid after f4290210b1
- This fixes #77 Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
This commit is contained in:
parent
0f7b79f7a4
commit
f3a3ed05f4
|
|
@ -33,7 +33,7 @@ class CustomFilters:
|
|||
# Cancelling by gid
|
||||
with download_dict_lock:
|
||||
for message_id, status in download_dict.items():
|
||||
if status.gid == args[1] and status.message.from_user.id == user_id:
|
||||
if status.gid() == args[1] and status.message.from_user.id == user_id:
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
|
|
|||
Loading…
Reference in New Issue